ãããããã¼ãã£ã¨çºãã¦ããã¨ã以ä¸ã®ãã¿ãããã
Rubyist Magazine - Rubyist ã®ããã®ä»è¨èªæ¢è¨ª ã第 1 åã Python
http://jp.rubyist.net/magazine/?0008-Legwork
ã§ãPythoné¢ä¿ã®æ¹ã®ãã©ãã¯ããã¯ã§ãIPython ããããã£ã¦ãã¿æ¯ãããã£ãã
Python for Cygwinã«æ·»ä»ããã¦ããIDLEã X Window ä¸ã§ãªãã¨åããªãã®ã¨ãã³ã¼ãè£å®ãã¦ãããªãã®ã§ ãã
ã¨æã£ã¦ããã®ã§ãã¤ã³ã¹ãã¼ã«ãã¦ã¿ãäºã«ããã
ãªãã£ã·ã£ã«ã¯ãâããã
IPython - An enhanced Interactive Python
http://ipython.scipy.org/
ä½ããreadline ãå¿
è¦ã£ã½ãã®ã§ããããDLãã¦ããã
(å¾ãPyWin32ã¨CTypesããã両æ¹å
±ãååå
¥ãã¦ãããã®ã§ãä»å㯠readlineã ãå
¥ãã)
Windows instructions
http://ipython.scipy.org/doc/manual/node2.html#sub:Under-Windows
SourceForge.net: Project Info - UNC Python Tools
http://sourceforge.net/projects/uncpythontools
IPython for Windows
ã¾ããPython for Windowsçãããã
$ python -V Python 2.3.4
以ä¸ã®ãã¡ã¤ã«ã次ã å®è¡ã
- readline-1.12.win32.exe
- ipython-0.6.15.win32.exe
ã¤ã³ã¹ãã¼ã«ããã¨ãWindowsã®Startã¡ãã¥ã¼ã«IPythonã追å ãããã
å®è¡ããã¨ãâãããªæããããï¼
Python 2.3.4 (#53, Sep 20 2004, 11:44:16) [MSC v.1200 32 bit (Intel)] Type "copyright", "credits" or "license" for more information. IPython 0.6.15 -- An enhanced Interactive Python. ? -> Introduction to IPython's features. %magic -> Information about IPython's 'magic' % functions. help -> Python's own help system. object? -> Details about 'object'. ?object also works, ?? prints more. In [1]:
é©å½ã«ã¢ã¸ã¥ã¼ã«åã¨ãçªã£è¾¼ãã§ã"."ãå ¥ã㦠TAB ãã¼ãæ¼ãã¨ãè£å®ãã¦ããããï¼
In [3]: sys. sys.__displayhook__ sys.exc_info sys.modules sys.__doc__ sys.exc_type sys.path sys.__excepthook__ sys.excepthook sys.path_hooks sys.__name__ sys.exec_prefix sys.path_importer_cache sys.__stderr__ sys.executable sys.platform sys.__stdin__ sys.exit sys.prefix sys.__stdout__ sys.exitfunc sys.setcheckinterval sys._getframe sys.getcheckinterval sys.setprofile sys.api_version sys.getdefaultencoding sys.setrecursionlimit sys.argv sys.getfilesystemencoding sys.settrace sys.builtin_module_names sys.getrecursionlimit sys.stderr sys.byteorder sys.getrefcount sys.stdin sys.call_tracing sys.getwindowsversion sys.stdout sys.callstats sys.hexversion sys.version sys.copyright sys.ipcompleter sys.version_info sys.displayhook sys.maxint sys.warnoptions sys.dllhandle sys.maxunicode sys.winver sys.exc_clear sys.meta_path sys.__class__
IPython for Cygwin
次ã¯ãIPython for Cygwinçãå ¥ãããã
以ä¸ã®ãã¡ã¤ã«ãDLãã¦ããã
- ipython-0.6.15.tar.gz
- readline-1.12.zip
ã§ãCygwinããã³ããã«å ¥ã£ã¦ã解åâã¤ã³ã¹ã³ã
$ python -V Python 2.4.1 $ unzip readline-1.12.zip Archive: readline-1.12.zip inflating: readline-1.12/PKG-INFO inflating: readline-1.12/setup.py inflating: readline-1.12/readline/Console.py inflating: readline-1.12/readline/keysyms.py inflating: readline-1.12/readline/PyReadline.py inflating: readline-1.12/readline/__init__.py $ cd readline-1.12 $ python setup.py install running install running build running build_py creating build creating build/lib creating build/lib/readline copying readline/Console.py -> build/lib/readline copying readline/keysyms.py -> build/lib/readline copying readline/PyReadline.py -> build/lib/readline copying readline/__init__.py -> build/lib/readline running install_lib creating /usr/lib/python2.4/site-packages/readline copying build/lib/readline/Console.py -> /usr/lib/python2.4/site-packages/readli ne copying build/lib/readline/keysyms.py -> /usr/lib/python2.4/site-packages/readli ne copying build/lib/readline/PyReadline.py -> /usr/lib/python2.4/site-packages/rea dline copying build/lib/readline/__init__.py -> /usr/lib/python2.4/site-packages/readl ine byte-compiling /usr/lib/python2.4/site-packages/readline/Console.py to Console.p yc byte-compiling /usr/lib/python2.4/site-packages/readline/keysyms.py to keysyms.p yc byte-compiling /usr/lib/python2.4/site-packages/readline/PyReadline.py to PyRead line.pyc byte-compiling /usr/lib/python2.4/site-packages/readline/__init__.py to __init__ .pyc $ cd .. $ tar xzvf ipython-0.6.15.tar.gz ipython-0.6.15/ ipython-0.6.15/IPython/ ipython-0.6.15/IPython/Extensions/ ... $ cd ipython-0.6.15 $ python setup.py install running install running build running build_py creating build creating build/lib creating build/lib/IPython ...
ããã§ã¤ã³ã¹ã³çµããã
$ ipython ********************************************************************** Welcome to IPython. I will try to create a personal configuration directory where you can customize many aspects of IPython's functionality in: /home/wacky/.ipython Successful installation! Please read the sections 'Initial Configuration' and 'Quick Tips' in the IPython manual (there are both HTML and PDF versions supplied with the distribution) to make sure that your system environment is properly configured to take advantage of IPython's features. Please press <RETURN> to start IPython. ********************************************************************** Python 2.4.1 (#1, May 27 2005, 18:02:40) Type "copyright", "credits" or "license" for more information. IPython 0.6.15 -- An enhanced Interactive Python. ? -> Introduction to IPython's features. %magic -> Information about IPython's 'magic' % functions. help -> Python's own help system. object? -> Details about 'object'. ?object also works, ?? prints more. In [1]:
ãã²ããåããã
â¦ã¨ããã§ãã³ã¼ãè£å®ãããã¨ãâãããªæãã«ã楽ãã表示ã«ãªã£ã¡ããã
In [2]: sys.s.ve sys.version sys.version_info In [2]: sys.versionon Out[2]: '2.4.1 (#1, May 27 2005, 18:02:40) \n[GCC 3.3.3 (cygwin special)]'
ã¾ããã¨ããããåä½ã«æ¯éãç¡ãã®ã§ãæ¾ã£ã¦ããã¦ããã