Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frol/python-tutorials
My personal tutorials to dive into Python in an hour or so
https://github.com/frol/python-tutorials
Last synced: 3 months ago
JSON representation
My personal tutorials to dive into Python in an hour or so
- Host: GitHub
- URL: https://github.com/frol/python-tutorials
- Owner: frol
- License: mit
- Created: 2015-03-01T08:13:17.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-15T20:19:26.000Z (over 8 years ago)
- Last Synced: 2024-10-10T20:22:30.382Z (3 months ago)
- Language: Jupyter Notebook
- Size: 70.3 KB
- Stars: 10
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Showcases to dive into Python in an hour
You'll need [Jupyter Notebook](http://jupyter.readthedocs.io/en/latest/install.html)
(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+.## Download Python Tutorials
There are two options how you can get the tutorials:
### Git Clone (preferred)
```bash
$ git clone https://github.com/frol/python-tutorials.git
$ cd python-tutorials
```### or download this repository as an archive
```bash
$ mkdir python-tutorials
$ cd python-tutorials
$ wget https://github.com/frol/python-tutorials/archive/master.zip
$ unzip master.zip
```## Prepare environment
Again, there are two options of how to prepare your environment:
### Classic Python using VirtualEnv (Debian-based Linux instructions)
1. Since most of the Linux distributions already have Python installed, you
only need to install VirtualEnv:```bash
$ sudo apt-get install python-virtualenv
```
2. Create Python Virtual Environment:```bash
$ virtualenv ./env/
```
3. Activate the environment and install dependencies:```bash
$ . ./env/bin/activate
$ pip install -r requirements.txt
```### Anaconda Python distribution (crossplatform)
1. [Install Miniconda](http://conda.pydata.org/miniconda.html) (
[Anaconda](https://www.continuum.io/downloads) will also work, but it
includes too many unnecessary packages, which you can install into
Miniconda if necessary)
2. [Create Conda Environment](http://conda.pydata.org/docs/using/envs.html#create-an-environment)
with Jupyter Notebook:```bash
$ conda create -n python-tutorials python notebook
```
3. [Activate the environment](http://conda.pydata.org/docs/using/envs.html#change-environments-activate-deactivate):```bash
$ 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).## Start
```bash
$ jupyter notebook --notebook-dir=./notebooks/
```## Contents
1. `notebooks/Intro.ipynb`
1. `notebooks/Structures.ipynb`
1. `notebooks/Numpy_and_Pandas.ipynb`