Technical notes‎ > ‎

Python resources

posted Nov 25, 2014, 6:41 PM by Le Tuan Anh   [ updated Apr 11, 2018, 1:06 AM ]

Milestones

Running Python within the browser

Development tools

What you did
My suggestion
Naked Python or Python with IDLE Anaconda + Spyder (built-in)
Python3 & Notepad++    Anaconda + VS Code

Learning Python

Creating virtual environment for testing

# create a folder to store multiple virtual environments
mkdir ~/.envs

# create a new virtual environment (change mytestenv to your desired name)
python3 -m venv ~/.envs/mytestenv

# activate the environment (do *NOT* forget the dot in front)
. ~/.envs/mytestenv/bin/activate

Easy rite?

Download

3rd libraries

Note: virtualenv and pip should be included in standard python distribution by default. Instead of using wrapper scripts (virtualenv or pip), one should use:

python3 -m venv envfoldername
python -m virtualenv envfoldername
python3 -m pip install packagename
python -m pip install packagename

Advanced topics

Interesting stuff for students of HG7030 class (Natural Language Processing for Linguists)

Ċ
Le Tuan Anh,
Nov 25, 2014, 6:49 PM
Ċ
Le Tuan Anh,
Nov 25, 2014, 6:49 PM
Comments