Table of Content
http://portablepython.com/ is best portable python so far, here is discussion how to run them from Console2.
1) install portable python package
Portable Python 2.7.5.1 This package contains following applications/libraries: PyScripter v2.5.3 NymPy 1.7.1 SciPy 0.12.0 Matplotlib 1.2.1 PyWin32 218 Django 1.5.1 PIL 1.1.7 Py2Exe 0.6.9 wxPython 2.9.4.0 NetworkX 1.7 Lxml 2.3 PySerial 2.5 PyODBC 3.0.6 PyGame 1.9.1 PyGTK 2.24.2 PyQt 4.10.1 IPython 0.13.1 Pandas 0.11.0 Package file size (compressed): 106MB Installed size: based on selected packages, between 50MB and 545MB Portable Python 3.2.5.1 This package contains following applications/libraries (alphabetical order): PyScripter v2.5.3 NymPy 1.7.1 SciPy 0.12.0 Matplotlib 1.2.1 PyWin32 218 NetworkX v1.7 Lxml 2.3 PySerial 2.5 PyODBC 3.0.2 PyQt 4.9.6-1 IPython 0.13.1 Pandas 0.11.0 Package file size (compressed): 65MB Installed size: based on selected packages, between 63MB and 260MB
2) Create Tabs for python in Console2
python2.7 tab: Shell: C:\portableapps\Portable Python 2.7.5.1\App\python.exe Startup dir:python 3.2 tab: Shell: C:\portableapps\Portable Python 3.2.5.1\App\python.exe Startup dir:
3) Create Tabs for ipython in Console2
There is not ipython start script in portablepython, it is a module, so have to start from embeded module like this:
>>> from IPython import embed >>> embed()
or put in bat file:
ipython2.7 tab: Shell: C:\oldhorse\portableapps\Portable Python 2.7.5.1\ipython2.bat Startup dir:ipython2.bat "C:\portableapps\Portable Python 2.7.5.1\App"\python -c "from IPython import embed;embed()" ipython3.2 tab: Shell: C:\oldhorse\portableapps\Portable Python 3.2.5.1\ipython3.bat Startup dir: ipython3.bat "C:\portableapps\Portable Python 3.2.5.1\App"\python -c "from IPython import embed;embed()"