IPython package is now released to MeeGo 1.2 Harmattan, so interactively using Python and its modules (like NumPy, SymPy, etc) becomes a lot easier. There are two versions to choose to download :
IPython 0.10.2
IPython 0.10
IPython 0.10.2 x IPython 0.10 packages:
- v0.10.2 is newer (09/04/2011) than v0.10 (04/07/2009);
- v0.10.2 doesn’t have HTML and PDF documentation, so it takes 8.0 MB after install, less than the 16.6 MB of v0.10;
- v0.10.2 can be installed from Apps (without using Terminal & dpkg -i);
- v0.10 is official from Nokia developers, I have just created the .deb from the IPython Git source code;
- v0.10.2 is maintained and packaged for MeeGo Harmattan by me;
- v0.10 can be officially included in the Nokia repositories depending on the interest in IPython by the users.
Install IPython 0.10.2 on MeeGo Harmattan :
Download to your Nokia N9/N950 the deb package : ipython_0.10.2-1harmattan1_all.deb
Using a file manager tap in the file to install it.
Or install IPython 0.10 on MeeGo Harmattan :
Download to your Nokia N9/N950 the deb package : ipython_0.10-2maemo1_all.deb
Open the Terminal, type :
$ devel-su
and the ‘rootme’ password, then type in the same directory where the above .deb was downloaded :
# dpkg -i ipython_0.10-2maemo1_all.deb
confirming the installation.
Using IPython 0.10/0.10.2 on Harmattan :
Open the Terminal, type :
$ ipython
IPython 0.10.2 (or 0.10) on Harmattan takes 8.0 (or 16.6) MB after install, but it also needs (and installs if not installed) Python/Python-Support packages (23 MB) which are also used by other softwares.
Some features of the IPython interactive shell :
- tab (or ctrl+i) completion for objects;
- input history navigation using up (or Ctrl+p) and down (or Ctrl+n) arrows;
- search input history by typing partial input then up/down arrow to show matching lines, or ctrl+r to have a serch prompt;
- input line n can be retrieved using ‘_in’, ‘In[n]’, ‘_ih[n]’, and _i, _ii, _iii to access the previous, next previous and next-next previous inputs;
- output line n can be retrieved using ‘_n’, ‘Out[n]’, ‘_oh[n]’, and _, __, ___ access the previous, next previous and next-next previous outputs;
- information about objects using ‘?word’ or ‘word?’, full information with ‘??word’ or ‘word??’;
- magic command system, like ‘%run file.py’, ‘%pwd’;
- run system commands with ‘!’ as prefix, e.g., ‘!ls”.
More details in :
iPython interactive tutorial
iPython Interactive Reference
Source Maemo.Org