Show More
@@ -4,7 +4,16 Entry point for a simple application giving a graphical frontend to | |||||
4 | ipython. |
|
4 | ipython. | |
5 | """ |
|
5 | """ | |
6 |
|
6 | |||
7 | import wx |
|
7 | try: | |
|
8 | import wx | |||
|
9 | except ImportError, e: | |||
|
10 | e.message = """%s | |||
|
11 | ________________________________________________________________________________ | |||
|
12 | You need wxPython to run this application. | |||
|
13 | """ % e.message | |||
|
14 | e.args = (e.message, ) + e.args[1:] | |||
|
15 | raise e | |||
|
16 | ||||
8 | from wx_frontend import WxController |
|
17 | from wx_frontend import WxController | |
9 | import __builtin__ |
|
18 | import __builtin__ | |
10 |
|
19 |
General Comments 0
You need to be logged in to leave comments.
Login now