##// END OF EJS Templates
First semi-complete support for -pylab and %pylab....
First semi-complete support for -pylab and %pylab. Now the magic works, -pylab -*thread work (with one or two dashes, and alone or combined). Other minor fixes and cleanups, including initializing the exception mode correctly.

File last commit:

r1263:67f5e0c2
r2363:f4d0cb7d
Show More
main.py
24 lines | 551 B | text/x-python | PythonLexer
#
# main.py
# IPython1Sandbox
#
# Created by Barry Wark on 3/4/08.
# Copyright __MyCompanyName__ 2008. All rights reserved.
#
#import modules required by application
import objc
import Foundation
import AppKit
from PyObjCTools import AppHelper
from twisted.internet import _threadedselect
reactor = _threadedselect.install()
# import modules containing classes required to start application and load MainMenu.nib
import IPython1SandboxAppDelegate
import IPython.frontend.cocoa.cocoa_frontend
# pass control to AppKit
AppHelper.runEventLoop()