12
12
<?php include "../sidebar.php" ?>
14
<p>Updated: April 10, 2004 for release 0.7.3</p>
14
<p>Updated: March 31, 2006 for release 0.8.2</p>
16
16
<p>PythonCard supports the following runtime tools (command-line switch in
69
69
<p>The shell automatically loads a series of commands when it starts up:</p>
72
shell.autoCompleteIncludeMagic = True
b'shell.autoCompleteIncludeSingle = False'
b'shell.autoCompleteIncludeDouble = False'
b'shell.autoCompleteWxMethods = False'
b'# workaround for absolute pathnames'
b'# in sys.path (see model.py)'
b"if sys.path[0] not in ('', '.'):"
73
72
sys.path.insert(0, '')
b'from wxPython import wx'
b'from PythonCard import dialog, util'
b'bg = pcapp.getCurrentBackground()'
73
shell.autoCompleteIncludeMagic = True
74
shell.autoCompleteIncludeSingle = False
75
shell.autoCompleteIncludeDouble = False
76
shell.autoCompleteWxMethods = False
80
# workaround for absolute pathnames
81
# in sys.path (see model.py)
82
if sys.path[0] not in ('', '.'):
83
sys.path.insert(0, '')
86
from PythonCard import dialog, util
87
bg = pcapp.getCurrentBackground()
75
92
<p>These commands are in a pycrustrc.py file in the framework directory. You can
76
93
also have a pycrustrc.py file in a PythonCard application directory (see the
85
102
PythonCard probably makes the most and best use of PyCrust right now.</p>
b'| <a href="general_concepts_and_limitations.html">General Concepts and Limitations</a> '
b'| <a href="components.html">Components</a> '
b'| <a href="dialogs.html">Dialogs</a> '
b'| <a href="events_and_handlers.html">Events and Handlers</a> '
b'| <a href="menus.html">Menus</a> '
b'| <a href="resource_files.html">Resource Files</a> '
b'| <a href="runtime_tools.html">Runtime Tools</a> '
88
105
<?php include "../footer.php" ?>
89
<p>$Revision: 1.2 $ : $Author: kasplat $ : Last updated $Date: 2004/08/14 21:05:15 $</p>
106
<p>$Revision: 1.4 $ : $Author: alextweedly $ : Last updated $Date: 2006/04/06 11:00:26 $</p>
90
107
</div> <!-- end of content -->