Skip to content

marcpre/learning_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 

Repository files navigation

learning_python

Install

Python 3.5

python --version

Jupyter

Install

  1. Install conda
$ wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh 
$ chmod a + x Miniconda3-latest-Linux-x86_64.sh 
$. / Miniconda3-latest-Linux-x86_64.sh 
  1. Install Jupyter
$ conda install jupyter 
  1. Run Jupyter jupyter notebook --ip=0.0.0.0 --port=8080 --no-browser

  2. Open the URL http://projectname-username.c9users.io:8080

https://learning-python-pisco.c9users.io:8080/tree?token=3fbf6012c61ec6c8b6d7716cf6ae9971f42278d113fb0861

https://learning-python-pisco.c9users.io:8080/tree?token=3fbf6012c61ec6c8b6d7716cf6ae9971f42278d113fb0861 Source - C9 - How to get jupyter notebook to run on C9?

Run Code

shift + enter

Exit Edit Mode

Esc

Then the selector should turn blue and you can move it around.

Show further information about variable

Shift + Tab

Switch Mode

F.ex.: Code to Markdown

Esc and then M

Add Cell

Press a

Autocompletion

Press Tab

Install packages in Jupyter notebook

Conda

import sys
!conda install --yes --prefix {sys.prefix} matplotlib

Hint: Install pip install matplotlib==2.0.2

python 2.7 functools_lru_cache does not import although installed

Pip

import sys
!{sys.executable} -m pip install numpy

https://jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/

--> further at 06/067

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published