Python Project Basic Setup
17th March, 2023
Simple setup of venv
for new Python projects, I would always use a local venv for developing in Python as it makes it easier to manage dependencies and work in the app across multiple locations.
mkdir myprojectcd !$python3 -m venv env. env/bin/activate; pip is almost always out of date so upgrade itpython -m pip install --upgrade pip; git init and ignore envgit initecho "env/" >> .gitignore