Show More
@@ -65,12 +65,12 b' used, and this module (and the readline module) are silently inactive.' | |||
|
65 | 65 | import __builtin__ |
|
66 | 66 | import __main__ |
|
67 | 67 | import glob |
|
68 | import itertools | |
|
68 | 69 | import keyword |
|
69 | 70 | import os |
|
70 | 71 | import re |
|
71 | 72 | import shlex |
|
72 | 73 | import sys |
|
73 | import itertools | |
|
74 | 74 | import types |
|
75 | 75 | |
|
76 | 76 | from IPython.core.error import TryNext |
@@ -34,7 +34,7 b' import sys' | |||
|
34 | 34 | from IPython.core import ipapi |
|
35 | 35 | from IPython.core.error import TryNext |
|
36 | 36 | from IPython.utils.genutils import ( |
|
37 | chop, Term | |
|
37 | chop, Term, USE_CURSES | |
|
38 | 38 | ) |
|
39 | 39 | |
|
40 | 40 | if os.name == "nt": |
@@ -23,6 +23,6 b' this mode, there is no way to pass IPython any command-line options, as those' | |||
|
23 | 23 | are trapped first by Python itself. |
|
24 | 24 | """ |
|
25 | 25 | |
|
26 |
|
|
|
26 | from IPython.core.ipapi import launch_new_instance | |
|
27 | 27 | |
|
28 | 28 | launch_new_instance() |
@@ -11,6 +11,14 b' Ref: Modified from wxPython source code wxPython/samples/simple/simple.py' | |||
|
11 | 11 | This example can only be run once in a given IPython session because when |
|
12 | 12 | the frame is closed, wx goes through its shutdown sequence, killing further |
|
13 | 13 | attempts. I am sure someone who knows wx can fix this issue. |
|
14 | ||
|
15 | Furthermore, once this example is run, the Wx event loop is mostly dead, so | |
|
16 | even other new uses of Wx may not work correctly. If you know how to better | |
|
17 | handle this, please contact the ipython developers and let us know. | |
|
18 | ||
|
19 | Note however that we will work with the Matplotlib and Enthought developers so | |
|
20 | that the main interactive uses of Wx we are aware of, namely these tools, will | |
|
21 | continue to work well with IPython interactively. | |
|
14 | 22 | """ |
|
15 | 23 | |
|
16 | 24 | import wx |
General Comments 0
You need to be logged in to leave comments.
Login now