New project checklist
Follow these steps every time you start a new Python project.Step 1: Open terminal
Open your terminal:- Mac: Terminal app or iTerm
- Windows: Terminal, Command Prompt, or PowerShell
Step 2: Navigate to your projects folder
Step 3: Create the project
Use uv to create your project:- Creates a new folder
my-awesome-project - Creates
.gitignore(Git will ignore.venv,.env, etc.) - Creates
.python-version(specifies Python version) - Creates
pyproject.toml(project configuration) - Creates
README.md(project description) - Creates
main.py(example file)
The
.venv folder is created automatically when you run uv add to install your first package. Same with uv.lock.Step 4: Open in VS Code
- VS Code opens with your project
- Python extension activates automatically
- Virtual environment is detected
If
code . doesn’t work, see the Git section for setup instructions.Step 5: Add packages
Open terminal in VS Code (Ctrl+`):
- Packages download and install
pyproject.tomlupdates with dependenciesuv.locklocks exact versions
Step 6: Test your setup
Editmain.py:
Step 7: Set up environment variables
Create.env for secrets:
.env.example for others:
.env is already in .gitignore - your secrets are safe!
Step 8: Initialize Git
- Git starts tracking your files
- All files except those in
.gitignoreare staged - Your first snapshot is saved
Step 9: Create GitHub repository
Create the repository directly from your terminal:- Using GitHub CLI (Recommended)
- Using Git (Traditional)
- Creates repository on GitHub
- Sets up remote connection
- Pushes your code automatically
If you don’t have GitHub CLI, install it:Mac:Windows:Linux:After installing, authenticate with:
- Set up locally with uv
- Tracked by Git
- Backed up on GitHub
The daily workflow
From here, your routine is:Quick reference
Pro tips
- Commit often - Small commits are better than huge ones
- Write clear messages - “Fix login bug” not “updates”
- Use .env - Never hardcode secrets
- Keep it simple - Don’t over-engineer
Commands summary
Here’s everything in one place:What’s next
You’ve completed the Python fundamentals course. Continue your journey with these next steps:Course summary
See what you’ve learned and continue with AI agents in Python