##// END OF EJS Templates
use eval to uncan References...
use eval to uncan References as opposed to dict.get This allows things like `Reference('obj.attribute')` or `Reference('obj[item]')`, or even `view.map(Reference('obj.method'), seq)`, rather than requiring an assignment into the global namespace via `execute` before Reference can be used to point to an object.

File last commit:

r2661:595fc3b9
r6159:90cf48e7
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()