Published on February 28, 2014
The magic of IPython Notebook in 15 minutes
What is it and why use it? • Web-based REPL (read-eval-print-loop) - simple and interactive programming environment alternative to the default shell • Cross platform and free • Rich toolkit: Terminal / Web / Qt console • Great for learn new languages • Allows to save code snippets • Output in interactive mode: text, tables, graphics
Installing IPython Minimal effort (newbies)! • Anaconda for Mac or Windows ! Complete! • • OSX - easy_install ipython will download and install all dependencies; pip install ipython will also work but ignore some dependencies Ubuntu (and Debian-based distros): • installs IPython and its dependencies sudo apt-get install ipython-notebook • additional tools for scientiﬁc computing (optional) sudo apt-get install python-matplotlib python-scipy python-pandas python-sympy python-nose • Windows: http://ipython.org/ipython-doc/stable/install/install.html#windows
First steps • • Launch typing IPython Notebook Do your magic
Characteristics • Easy installation • Menu with several options • Multiple cell types (markdown, raw text, headings) • Magics (% inline and %% multiline) • Code completion • Integrated help • Allows download notebooks and load them again from ﬁle
IPython SQL • Introduces a sql magic for IPython • Connect to a db using SQLAlchemy connecting strings • Multiple connections can be manteined • Dict-style access for result sets is supported • Supports Pandas, Graphing and Dumping • https://github.com/catherinedevlin/ipython-sql
The IPython Notebook is now known as the Jupyter Notebook. It is an interactive computational environment, ... For more details on the Jupyter Notebook ...
Introducing IPython ... Magic functions¶ IPython has a set of predefined ‘magic functions’ that you can call with a ... Cell magics example notebook.
IPython 'magic' function documentation. ... Calling this magic from clients that do not implement standard input, such as the ipython notebook interface, ...
ERROR: Line magic function %matplotlib not found. ... When starting ipython notebook, I shall set PATH properly to use anaconda version of ipython.
I am relatively new to ipython magics and want to run some code and at the same time add it to a list through the magic commands. The magics are defined as ...
Introduces a %sql (or %%sql) magic. Connect to a database, using SQLAlchemy connect strings, then issue SQL commands within IPython or IPython Notebook.
IPython ist ein Kommandozeileninterpreter zum interaktiven Arbeiten mit der Programmiersprache ... Architektur und Notebook Die Architektur von IPython ...
IPython Notebook makes this even simpler, ... Doing the workshop without IPython. Tried out IPython Notebook but don't really like it? No problem!
Ipython-quick-ref-sheets. View on GitHub Ipython ... For more details of magic usage see the Built-in magic commands page in IPython's documentation.