Show More
@@ -19,18 +19,19 b" if sys.platform == 'win32':" | |||||
19 | #add config for inputrcpath here: |
|
19 | #add config for inputrcpath here: | |
20 | #pyreadline.rlmain.config_path="c:/python/test_config.ini" |
|
20 | #pyreadline.rlmain.config_path="c:/python/test_config.ini" | |
21 | from readline import * |
|
21 | from readline import * | |
22 | print "Using the new pyreadline (thanks for participating in the testing!)" |
|
22 | #print "Using the new pyreadline (thanks for participating in the testing!)" | |
23 |
|
23 | |||
24 | have_readline = True |
|
24 | have_readline = True | |
25 |
|
25 | |||
26 | import readline as _rl |
|
26 | import readline as _rl | |
27 | except ImportError: |
|
27 | except ImportError: | |
28 |
print "IPython team recommends the new pyreadline for Windows use, |
|
28 | #print "IPython team recommends the new pyreadline for Windows use, " | |
29 | print "It's superior especially with non-US keyboard layouts." |
|
29 | #print "It's superior especially with non-US keyboard layouts." | |
30 | print "Try installing it with 'easy_install pyreadline (ctypes is required) or" |
|
30 | #print "Try installing it with 'easy_install pyreadline (ctypes is required) or" | |
31 | print "svn co http://ipython.scipy.org/svn/ipython/pyreadline/trunk pyreadline" |
|
31 | #print "svn co http://ipython.scipy.org/svn/ipython/pyreadline/trunk pyreadline" | |
32 | print "Trying 'old' windows readline." |
|
32 | #print "Trying 'old' windows readline." | |
33 |
|
33 | print "Using 'old' readline, you might want to try pyreadline:" | ||
|
34 | print "http://projects.scipy.org/ipython/ipython/wiki/PyReadline/Intro" | |||
34 | try: |
|
35 | try: | |
35 | from readline import * |
|
36 | from readline import * | |
36 | import readline as _rl |
|
37 | import readline as _rl |
General Comments 0
You need to be logged in to leave comments.
Login now