diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-04-11 15:35:28 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-04-11 15:35:28 (GMT) |
commit | bae5c965e8d42c791ec42959f7b025f29f38926e (patch) | |
tree | ed1b941e4ad2284ab08562e24a0ac6cd19fbbd68 /Doc/mac/using.tex | |
parent | 126f2b76b9413d861f3a8f7d70af67a634982e31 (diff) | |
download | cpython-bae5c965e8d42c791ec42959f7b025f29f38926e.zip cpython-bae5c965e8d42c791ec42959f7b025f29f38926e.tar.gz cpython-bae5c965e8d42c791ec42959f7b025f29f38926e.tar.bz2 |
Moved all the scripting stuff to a separate section, added all the
missing bits (well, all the bits I could think of) and updated the
rest.
Diffstat (limited to 'Doc/mac/using.tex')
-rw-r--r-- | Doc/mac/using.tex | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Doc/mac/using.tex b/Doc/mac/using.tex index e44cbfb..c515e03 100644 --- a/Doc/mac/using.tex +++ b/Doc/mac/using.tex @@ -67,10 +67,7 @@ format only. To run your script from the Terminal window you must make sure that \file{/usr/local/bin} is in your shell search path before \file{/usr/bin}, where the Apple-supplied Python lives (which is version 2.2, as of Mac OS X -10.2.4). There is one Mac OS X quirk that you need to be aware of: programs -that talk to the window manager (in other words, anything that has a GUI) -need to be run in a special way. Use \program{pythonw} in stead of \program{python} -to start such scripts. +10.2.4). To run your script from the Finder you have two options: \begin{itemize} @@ -84,6 +81,13 @@ PythonLauncher has various preferences to control how your script is launched. Option-dragging allows you to change these for one invocation, or use its Preferences menu to change things globally. +\subsection{Running scripts with a GUI \label{osx-gui-scripts}} + +There is one Mac OS X quirk that you need to be aware of: programs +that talk to the Aqua window manager (in other words, anything that has a GUI) +need to be run in a special way. Use \program{pythonw} in stead of \program{python} +to start such scripts. + \subsection{configuration} MacPython honours all standard unix environment variables such as \envvar{PYTHONPATH}, |