import editor
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
class App(wx.App):
"""PyAlaCarte standalone application."""
import editor
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
class App(wx.App):
"""PyAlaMode standalone application."""
import editor
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
class App(wx.App):
"""PyAlaModeTest standalone application."""
import wx
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
class App(wx.App):
"""PyCrust standalone application."""
import sys
import wx
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
-
class App(filling.App):
def OnInit(self):
filling.App.OnInit(self)
app.fillingFrame.filling.tree.Expand(app.root)
app.MainLoop()
-
if __name__ == '__main__':
main()
import wx
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
-
class App(wx.App):
"""PyShell standalone application."""
import os
import sys
import wx
-from crust import CrustFrame as Frame
-
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
+from wx.py.crust import CrustFrame
def wrap(app):
wx.InitAllImageHandlers()
- frame = Frame()
+ frame = CrustFrame()
frame.SetSize((750, 525))
frame.Show(True)
frame.shell.interp.locals['app'] = app
app.MainLoop()
-
def main(modulename=None):
sys.path.insert(0, os.curdir)
if not modulename:
except (NameError, TypeError):
pass
if App is None:
- print "No App class found."
+ print "No App class was found."
raise SystemExit
app = App()
wrap(app)
-
if __name__ == '__main__':
main()
import document
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
class Buffer:
"""Buffer class."""
from shell import Shell
from version import VERSION
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
class Crust(wx.SplitterWindow):
"""Crust based on SplitterWindow."""
import types
import weakref
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
class DispatcherError(exceptions.Exception):
def __init__(self, args=None):
import os
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
class Document:
"""Document class."""
from shell import Shell
import version
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
class EditorFrame(frame.Frame):
"""Frame containing one editor."""
import dispatcher
from version import VERSION
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
if wx.Platform == '__WXMSW__':
FACES = { 'times' : 'Times New Roman',
import types
from version import VERSION
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
COMMONTYPES = [getattr(types, t) for t in dir(types) \
if not t.startswith('_') \
import wx
from version import VERSION
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
ID_NEW = wx.ID_NEW
ID_OPEN = wx.ID_OPEN
import dispatcher
import introspect
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
class Interpreter(InteractiveInterpreter):
"""Interpreter based on code.InteractiveInterpreter."""
import tokenize
import types
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
def getAutoCompleteList(command='', locals=None, includeMagic=1,
includeSingle=1, includeDouble=1):
"""Return list of auto-completion options for command.
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
class PseudoKeyword:
"""A callable class that calls a method passed as a parameter.
from pseudo import PseudoFileErr
from version import VERSION
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
sys.ps3 = '<-- ' # Input prompt.
NAVKEYS = (wx.WXK_END, wx.WXK_LEFT, wx.WXK_RIGHT,