19 Mai

Python | Advanced – Working with Virtualenv

Create a virtual environment

# Python 2
$ virtualenv venv2 --python /usr/local/bin/python2.7

# Python 3
$ virtualenv venv3 --python /usr/local/bin/python3.7

Activate desired python version

# Python 2
$  . venv2/bin/activate

# Python 3
$  . venv3/bin/activate
12 Mai

iPython | Getting Started

Introduction

iPython ist ein Kommandozeileninterpreter zum interaktiven Arbeiten mit der Programmiersprache Python

IDEs and Environments

Install 

Jupyter

$ virtualenv --python python3 jupyter
$ cd jupyter
$ . bin/activate
$ pip install --upgrade pip
$ pip install jupyter

Finally run jupyter

jupyter notebook

Anaconda

$ virtualenv --python python3 anaconda
$ cd anaconda
$ . bin/activate
$ wget https://repo.continuum.io/archive/Anaconda3-4.3.1-Linux-x86_64.sh | bash
jupyter notebook

Resources

Awesome Notebooks

Notebooks