External packages in python
- When we install python, we get standard library
- Now lets assume i want to write python code to get list of s3 buckets in aws account. AWS gives a package (package is set of python modules organized in folders)
-
As part of python installation we get package manager (pip/pipx) and all the python public packages are hosted online on pypi.org
-
When we install packages there are different levels
- system specific
- project specific => we create its own environment which is referred as virtual environment
Lets create a new python project to get list of s3 buckets
- Lets create a new virtual environment
python -m venv .venv
- Activate the virtual environment
# windows
.venv/Scripts/activate
# linux or mac
source .venv/bin/activate
- Now install packages
pip install boto3
- In visual studio code select python interpreter
Web Programming
-
When we consider web programming we have two possible paths
- Web Apps (Web sites)
- Web Apis
-
Watch classroom video to understand
- Backend Developer
- Full stack developer

