Update of /cvsroot/python/python/dist/src/Mac/Demo In directory usw-pr-cvs1:/tmp/cvs-serv8651/Python/Mac/Demo Modified Files: embed.html Log Message: Updated, and added a very terse description of PyMac_SetConsoleHandler(). Index: embed.html =================================================================== RCS file: /cvsroot/python/python/dist/src/Mac/Demo/embed.html,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** embed.html 2000/09/10 12:02:16 1.5 --- embed.html 2001/10/09 23:14:06 1.6 *************** *** 7,13 **** <HR> <B>Note</B>: if you have a binary-only release of MacPython you will not ! have this demo installed. Install the developer option (in the standard installer) or go to ! <a href="http://www.cwi.nl/~jack/macpython.html">Jack's MacPython Page</a> ! to download either a source release if you want to embed Python in other applications. <p> --- 7,12 ---- <HR> <B>Note</B>: if you have a binary-only release of MacPython you will not ! have this demo installed. Install the developer option (in the standard installer) or ! a source release if you want to embed Python in other applications. <p> *************** *** 24,29 **** it so should your program and vice versa. ! <LI> The console-behaviour (close-on-exit, etc) is controlled by Python, ! but you are of course free to change that after calling PyMac_Initialize(). </UL> --- 23,28 ---- it so should your program and vice versa. ! <LI> The console-behaviour (close-on-exit, etc) is controlled by Python ! but you can overwrite this with <code>PyMac_SetConsoleHandler()</code>. </UL> *************** *** 38,46 **** found in the <a href="embed">embed</a> folder. <p> ! <b>Note</b>: you may think that you do not have the project file ! <code>PythonCore</code> but actually you do: the standard installation ! process deposits it in the <code>Extensions</code> folder in the system ! folder under the name <code>PythonCore <i>version</i></code>. Add that file ! to the project replacing <code>PythonCore</code>. <p> </BODY> </HTML> --- 37,44 ---- found in the <a href="embed">embed</a> folder. <p> ! This example code also shows how to override the console: if you pass the ! <code>-q</code> argument in the argument box output is thrown away. If you ! pass the <code>-d</code> option the output is sent to <code>DebugStr</code> ! (so be sure to use this only when running the example under a debugger). </BODY> </HTML>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4