[Tutor] Ipython Queries

Albert-Jan Roskam fomcl at yahoo.com
Fri Mar 13 18:40:27 CET 2015




----- Original Message -----
> From: Santosh Kumar <rhce.san at gmail.com>
> To: python mail list <tutor at python.org>
> Cc: 
> Sent: Friday, March 13, 2015 6:09 PM
> Subject: [Tutor] Ipython Queries
> 
> Hi All,
> 
> I have installed both python2 and python3 in my system . When i used
> ipython it by default goes to python2 base. How/what is the easy way to
> swith between python2 and python3 ?


The easy way? Dunno. I would love to know about it. Meanwhile, I use:


Python 3.4.2 (default, Nov 21 2014, 20:13:40) 
[GCC 4.7.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import IPython; IPython.start_ipython(argv=[])
Python 3.4.2 (default, Nov 21 2014, 20:13:40) 
Type "copyright", "credits" or "license" for more information.

IPython 2.4.1 -- 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.

In [1]: 


More information about the Tutor mailing list