Sunday, March 23, 2014

Ipython is a powerful python shell with advanced features

linux mint
 sudo apt-get install ipython
[sudo] password for admin: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  python-configobj python-decorator python-simplegeneric
Suggested packages:
  ipython-doc ipython-notebook ipython-qtconsole python-matplotlib python-zmq
The following NEW packages will be installed:
  ipython python-configobj python-decorator python-simplegeneric
0 upgraded, 4 newly installed, 0 to remove and 5 not upgraded.
Need to get 932 kB of archives.
After this operation, 4,623 kB of additional disk space will be used.
Do you want to continue [Y/n]? y


 sudo apt-get install ipython-notebook
The following extra packages will be installed:
  fonts-mathjax ipython-notebook-common libjs-mathjax libmysqlclient18
  libpgm-5.1-0 libzmq1 mysql-common python-mysqldb python-tornado python-zmq
Suggested packages:
  fonts-stix fonts-mathjax-extras libjs-mathjax-doc python-egenix-mxdatetime
  mysql-server-5.1 mysql-server python-mysqldb-dbg
The following NEW packages will be installed:
  fonts-mathjax ipython-notebook ipython-notebook-common libjs-mathjax
  libmysqlclient18 libpgm-5.1-0 libzmq1 mysql-common python-mysqldb
  python-tornado python-zmq
0 upgraded, 11 newly installed, 0 to remove and 5 not upgraded.
Need to get 4,019 kB of archives.
After this operation, 20.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? 


ipython
Python 2.7.4 (default, Sep 26 2013, 03:20:26) 
Type "copyright", "credits" or "license" for more information.

IPython 0.13.2 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.

object?   -> Details about 'object', use 'object??' for extra details.







On Linux, most distributions have everything you need in their package managers.
  1. Install IPython and its dependencies:
  • On Ubuntu or other Debian-based distributions, type at the shell:
    sudo apt-get install ipython-notebook
    
  • On Fedora 18 and newer related distributions, use:
    sudo yum install python-ipython-notebook
    
  1. Optionally install additional tools for scientific computing:
  • On Ubuntu or other Debian-based distributions, type at the shell:
    sudo apt-get install python-matplotlib python-scipy \
                         python-pandas python-sympy python-nose
    
  • On Fedora 18 and newer related distributions, use:
    sudo yum install python-matplotlib scipy python-pandas sympy python-nose
  • http://ipython.org/install.html

Popular distributions include:
The Enthought Python Distribution (EPD) and the new Canopy
by Enthought:
http://www.enthought.com/
Anaconda by Continuum Analytics:
http://www.continuum.io/
Python(x,y), an open source project:
http://code.google.com/p/pythonxy/
ActivePython by ActiveState:
http://www.activestate.com/activepython





No comments:

Post a Comment