Python

From aoxoaWiki
Jump to navigationJump to search

Python is a pretty easy-to-learn programming language.

Topics

See also Django

Version 2 vs 3

It seems to be the general recommendation to use python 3 for everything from now on.

Python 3 on Mac OSZ

Install Python 3 with homebrew

Installing Python3

Virtual Environments

Just getting started with this, but setting up app-specific virtual python environments seems to be the way to go.

  mkdir project-dir
  cd project-dir
  python3 -m venv env
  source env/bin/activate

To deactivate the virtual environment

  (go back to the project-dir)
  deactivate

Online Resources

Real Python Virtual Environments


Back to Main Page