Python, Git & Package Management
Learning Path
Hands-on Labs
Each objective has a coding lab that opens in VS Code in your browser
Install and verify Python
You will install Python and verify the installation is working correctly. Learn to check Python version, create isolated virtual environments using venv, and activate them for project-specific dependencies.
Write hello world script
You will write your first Python script and run it. Create a simple hello_agent.py file, run it from the terminal, and also run it using VS Code's integrated features.
Use Python REPL
You will learn to use the Python REPL (Read-Eval-Print Loop) for interactive experimentation. Start the interpreter, execute expressions to see immediate results, and exit properly.
Initialize Git repository
You will learn basic Git version control. Initialize a Git repository in your project folder, create a .gitignore file to exclude unnecessary files, and make your first commit to save your code.
Track changes with Git
You will learn the Git workflow for tracking code changes. Stage files with git add, commit changes with descriptive messages, and view your commit history with git log.
Install packages with pip
You will learn to install Python packages using pip. Install packages from PyPI, list installed packages, and create a requirements.txt file to document your dependencies.