View Single Post
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#8
Update : IPython for MeeGo Harmattan is now released (14/11/2011).

The Maemo 4 and MeeGo Harmattan versions of SymPy do not yet use iPython, instead the simpler Python shell. On Maemo 4 because iPython 0.8 is too old and incompatible with SymPy (isympy script). On MeeGo Harmattan because there is not yet a iPython package available.

Advantages of iPython shell, which is called by isympy or the icon of "SymPy" on Maemo 5 :
- tab (or ctrl+i) completion for objects;
- input history navigation using up and down 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

I am working to make iPython 0.10.2 available to Maemo 4 & 5 and iPython 0.10.2 or 0.11 to MeeGo Harmattan. So SymPy could also use iPython shell on Maemo 4 and MeeGo Harmattan.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.

Last edited by rcolistete; 2011-11-15 at 00:52.
 

The Following User Says Thank You to rcolistete For This Useful Post: