Skip to content

Instantly share code, notes, and snippets.

@boazcstrike
Created March 3, 2023 05:59
Show Gist options
  • Save boazcstrike/0c9feba083dc4f3fcbf21e91c414dc2e to your computer and use it in GitHub Desktop.
Save boazcstrike/0c9feba083dc4f3fcbf21e91c414dc2e to your computer and use it in GitHub Desktop.
All about python

Check Installation

python
python3

Global Installation

Homebrew

# stable
brew install python3.10.10

Pip

# grab pip repo
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

# install pip
python3 get-pip.py

Must-use Packages

pip3 install Django
pip3 install virtualenv

Upgrade packages

Virtual Environment

VirtualEnv

# windows
source env/Scripts/activate

# mac
source env/bin/activate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment