Escriu per cercar…

Project

S'ensenya a
Entorns de desenvolupamentDesenvolupament de programariDAW-BIOEntorns i sintaxi en PythonEditors, IDE i entorns d'execucióPYTHON

Introducció

uv supports managing Python projects, which define their dependencies in a pyproject.toml file.

Creating a new project

You can create a new Python project using the uv init command:

shell
uv init hello
cd hello

Alternatively, you can initialize a project in the working directory:

shell
mkdir hello
cd hello
uv init

uv will create the following files:

shell
├── .gitignore
├── .python-version
├── README.md
├── main.py
└── pyproject.toml

The main.py file contains a simple “Hello world” program. Try it out with uv run:

shell
uv run main.py

Estàs llegint una vista prèvia.

Inicia sessió amb Google per llegir la pàgina completa.

Inicia sessió amb Google

Amb qualsevol compte de Google. Només et demanarem que acceptis les condicions del servei.