My personal tutorials to dive into Python in an hour or so
MIT License
You'll need Jupyter Notebook (f.k.a. IPython Notebook until version 3.0) to see all features.
In these demos I focused on Python 3.5, though there should be no problems to run them on Python 2.7 and 3.4+.
There are two options how you can get the tutorials:
$ git clone https://github.com/frol/python-tutorials.git
$ cd python-tutorials
$ mkdir python-tutorials
$ cd python-tutorials
$ wget https://github.com/frol/python-tutorials/archive/master.zip
$ unzip master.zip
Again, there are two options of how to prepare your environment:
Since most of the Linux distributions already have Python installed, you only need to install VirtualEnv:
$ sudo apt-get install python-virtualenv
Create Python Virtual Environment:
$ virtualenv ./env/
Activate the environment and install dependencies:
$ . ./env/bin/activate
$ pip install -r requirements.txt
Install Miniconda ( Anaconda will also work, but it includes too many unnecessary packages, which you can install into Miniconda if necessary)
Create Conda Environment with Jupyter Notebook:
$ conda create -n python-tutorials python notebook
$ activate python-tutorials
NOTE: You should prepend the above command with source
(i.e. source activate ...
)
when using sh/Bash (Linux, OS X, and in some cases on Windows).
$ jupyter notebook --notebook-dir=./notebooks/
notebooks/Intro.ipynb
notebooks/Structures.ipynb
notebooks/Numpy_and_Pandas.ipynb