kemokemo / python-sketchbook

This is a sketchbook for kemokemo to write various python code while learning. :blue_book:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python sketchbook

This is a sketchbook for kemokemo to write various python code while learning with the following books.

preparation

macOS

Use python installed by pyenv instead of standard macOS python to make it easy to switch versions and to allow pip installation without sudo.

brew install pyenv 

Check the available versions.

pyenv install --list

Install it your version wirh options as it is needed by the PyInstaller which creates a single executable file.

PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install {your_version}

Switch to your version.

pyenv grobal 3.8.1

Add the following contents to .bash_profile or .zshrc and restart shell.

export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"

packages

You can find many awesome packages for python from the pypi.org.

About

This is a sketchbook for kemokemo to write various python code while learning. :blue_book:


Languages

Language:Python 96.7%Language:Makefile 3.3%