annotate Mac/Demo/index.html @ 80661:94de77bd0b4b 2.7

Issue #16194: document imp.load_dynamic problems when read several extension modules from the same binary object file.
author Andrew Svetlov <andrew.svetlov@gmail.com>
date Thu, 29 Nov 2012 19:51:28 +0200
parents 1342dfd52733
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3457
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
1 <HTML><HEAD><TITLE>Macintosh Python crash course</TITLE></HEAD>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
2 <BODY>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
3 <H1><IMG SRC="html.icons/python.gif">Macintosh Python crash course</H1>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
4 <HR>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
5
38925
1342dfd52733 Drop the calldll demo's for macos, calldll isn't present anymore, no need
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 38582
diff changeset
6 <p>This set of documents provides an introduction to various aspects of
3457
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
7 Python programming on the Mac. It is assumed that the reader is
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
8 already familiar with Python and, to some extent, with MacOS Toolbox
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
9 programming. Other readers may find something interesting here too,
38925
1342dfd52733 Drop the calldll demo's for macos, calldll isn't present anymore, no need
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 38582
diff changeset
10 your mileage may vary. </p>
3457
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
11
38925
1342dfd52733 Drop the calldll demo's for macos, calldll isn't present anymore, no need
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 38582
diff changeset
12 <p>As the previous paragraph reveals to the careful observer these examples
1342dfd52733 Drop the calldll demo's for macos, calldll isn't present anymore, no need
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 38582
diff changeset
13 are dated, most of them were writting before OSX and haven't been updated
1342dfd52733 Drop the calldll demo's for macos, calldll isn't present anymore, no need
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 38582
diff changeset
14 afterwards. They still show how to use the Carbon wrappers but aren't
1342dfd52733 Drop the calldll demo's for macos, calldll isn't present anymore, no need
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 38582
diff changeset
15 necessarily the best way to use the Carbon API's in OSX.</p>
3505
f6bd57dbd524 Added a tutorial
Jack Jansen <jack.jansen@cwi.nl>
parents: 3457
diff changeset
16
3457
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
17 Another set of Macintosh-savvy examples, more aimed at beginners, is
20642
ab833d9a09b9 New URL for Joe Strouts example page.
Jack Jansen <jack.jansen@cwi.nl>
parents: 12458
diff changeset
18 maintained by Joseph Strout, at Python Tidbits in <A
ab833d9a09b9 New URL for Joe Strouts example page.
Jack Jansen <jack.jansen@cwi.nl>
parents: 12458
diff changeset
19 HREF="http://www.strout.net/python/">
ab833d9a09b9 New URL for Joe Strouts example page.
Jack Jansen <jack.jansen@cwi.nl>
parents: 12458
diff changeset
20 http://www.strout.net/python/</A>.
3457
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
21 <P>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
22
6171
9a3e6f0d6b5a Modified for installer and new names of various applets. Also cleaned
Jack Jansen <jack.jansen@cwi.nl>
parents: 4963
diff changeset
23 The <a href="http://www.python.org/doc/lib/Top.html">Python Library
9a3e6f0d6b5a Modified for installer and new names of various applets. Also cleaned
Jack Jansen <jack.jansen@cwi.nl>
parents: 4963
diff changeset
24 Reference</a> contains a section on <a
9a3e6f0d6b5a Modified for installer and new names of various applets. Also cleaned
Jack Jansen <jack.jansen@cwi.nl>
parents: 4963
diff changeset
25 href="http://www.python.org/doc/lib/Macintosh-Specific-Services.html">Macintosh-specific
9a3e6f0d6b5a Modified for installer and new names of various applets. Also cleaned
Jack Jansen <jack.jansen@cwi.nl>
parents: 4963
diff changeset
26 modules</a> that you should also read. Documentation is also available
9a3e6f0d6b5a Modified for installer and new names of various applets. Also cleaned
Jack Jansen <jack.jansen@cwi.nl>
parents: 4963
diff changeset
27 in PostScript and other forms, see the <a
9a3e6f0d6b5a Modified for installer and new names of various applets. Also cleaned
Jack Jansen <jack.jansen@cwi.nl>
parents: 4963
diff changeset
28 href="http://www.python.org/doc/">documentation</a> section on the
9a3e6f0d6b5a Modified for installer and new names of various applets. Also cleaned
Jack Jansen <jack.jansen@cwi.nl>
parents: 4963
diff changeset
29 webserver. <p>
3751
2db6363459ca - Added a file dialog example
Jack Jansen <jack.jansen@cwi.nl>
parents: 3568
diff changeset
30
38925
1342dfd52733 Drop the calldll demo's for macos, calldll isn't present anymore, no need
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 38582
diff changeset
31 <p>The W widget set by Just van Rossum, does not have complete documentation as
1342dfd52733 Drop the calldll demo's for macos, calldll isn't present anymore, no need
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 38582
diff changeset
32 of this writing, but Corran Webster has documented most of it on his
1342dfd52733 Drop the calldll demo's for macos, calldll isn't present anymore, no need
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 38582
diff changeset
33 <A HREF="http://www.nevada.edu/~cwebster/Python/">Python Page</A>.</p>
12458
c28fa01e7329 Added a reference to the Open Directory page on macPython.
Jack Jansen <jack.jansen@cwi.nl>
parents: 12455
diff changeset
34
c28fa01e7329 Added a reference to the Open Directory page on macPython.
Jack Jansen <jack.jansen@cwi.nl>
parents: 12455
diff changeset
35 There are also some documentation links, as well as other MacPython-related
c28fa01e7329 Added a reference to the Open Directory page on macPython.
Jack Jansen <jack.jansen@cwi.nl>
parents: 12455
diff changeset
36 pages, in the
c28fa01e7329 Added a reference to the Open Directory page on macPython.
Jack Jansen <jack.jansen@cwi.nl>
parents: 12455
diff changeset
37 <A HREF="http://dmoz.org/Computers/Systems/Macintosh/Development/Scripting/Python/">
c28fa01e7329 Added a reference to the Open Directory page on macPython.
Jack Jansen <jack.jansen@cwi.nl>
parents: 12455
diff changeset
38 Open Directory</A>.
12455
4cb333482160 Added Corran Webster's explanation of how to write extensions in MPW and a pointer to his W documentation.
Jack Jansen <jack.jansen@cwi.nl>
parents: 11626
diff changeset
39
3457
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
40
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
41 <H2>Table of contents</H2>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
42
12455
4cb333482160 Added Corran Webster's explanation of how to write extensions in MPW and a pointer to his W documentation.
Jack Jansen <jack.jansen@cwi.nl>
parents: 11626
diff changeset
43 <blockquote><B>Note:</B>
4cb333482160 Added Corran Webster's explanation of how to write extensions in MPW and a pointer to his W documentation.
Jack Jansen <jack.jansen@cwi.nl>
parents: 11626
diff changeset
44 Some of these documents were actually written a long time ago and have seen
4cb333482160 Added Corran Webster's explanation of how to write extensions in MPW and a pointer to his W documentation.
Jack Jansen <jack.jansen@cwi.nl>
parents: 11626
diff changeset
45 little maintainance, so use with care. </blockquote>
3457
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
46 <UL>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
47 <LI>
3751
2db6363459ca - Added a file dialog example
Jack Jansen <jack.jansen@cwi.nl>
parents: 3568
diff changeset
48 <A HREF="example0.html">Using python to create Macintosh applications,
2db6363459ca - Added a file dialog example
Jack Jansen <jack.jansen@cwi.nl>
parents: 3568
diff changeset
49 part zero</A> whets your appetite by showing you how to ask the user
2db6363459ca - Added a file dialog example
Jack Jansen <jack.jansen@cwi.nl>
parents: 3568
diff changeset
50 for a filename, and how to display a message. It explains about end-of-line
2db6363459ca - Added a file dialog example
Jack Jansen <jack.jansen@cwi.nl>
parents: 3568
diff changeset
51 confusion while doing so.
2db6363459ca - Added a file dialog example
Jack Jansen <jack.jansen@cwi.nl>
parents: 3568
diff changeset
52
2db6363459ca - Added a file dialog example
Jack Jansen <jack.jansen@cwi.nl>
parents: 3568
diff changeset
53 <LI>
3457
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
54 <A HREF="example1.html">Using python to create Macintosh applications,
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
55 part one</A> explains how to create a simple modal-dialog application
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
56 in Python. It also takes a glance at using the toolbox modules Res and
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
57 Dlg, and EasyDialogs for simple question-dialogs.
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
58
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
59 <LI>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
60 <A HREF="example2.html">Using python to create Macintosh applications,
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
61 part two</A> turns the previous example program into a more complete
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
62 mac application, using a modeless dialog, menus, etc. It also explains
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
63 how to create applets, standalone applications written in Python.
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
64
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
65 <LI>
8556
d0eec96b4c56 Initial documentation on freezing.
Jack Jansen <jack.jansen@cwi.nl>
parents: 8150
diff changeset
66 <A HREF="freezing.html">Freezing Python programs</A> extends on this concept,
d0eec96b4c56 Initial documentation on freezing.
Jack Jansen <jack.jansen@cwi.nl>
parents: 8150
diff changeset
67 and shows you how to create applications that can be used on machines without
d0eec96b4c56 Initial documentation on freezing.
Jack Jansen <jack.jansen@cwi.nl>
parents: 8150
diff changeset
68 a full Python installed. This one is probably best skipped on first contact
d0eec96b4c56 Initial documentation on freezing.
Jack Jansen <jack.jansen@cwi.nl>
parents: 8150
diff changeset
69 with MacPython.
d0eec96b4c56 Initial documentation on freezing.
Jack Jansen <jack.jansen@cwi.nl>
parents: 8150
diff changeset
70
d0eec96b4c56 Initial documentation on freezing.
Jack Jansen <jack.jansen@cwi.nl>
parents: 8150
diff changeset
71 <LI>
3531
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
72 <A HREF="textedit.html">Using FrameWork and TextEdit</A> shows you
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
73 how to use <code>FrameWork</code> application framework and the
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
74 <code>TextEdit</code> toolbox to build a text editor.
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
75
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
76 <LI>
3457
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
77 <A HREF="plugins.html">Creating a C extension module on the Macintosh</A>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
78 is meant for the hardcore programmer, and shows how to create an
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
79 extension module in C. It also handles using Modulator to create the
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
80 boilerplate for your module, and creating dynamically-loadable modules
12455
4cb333482160 Added Corran Webster's explanation of how to write extensions in MPW and a pointer to his W documentation.
Jack Jansen <jack.jansen@cwi.nl>
parents: 11626
diff changeset
81 on PowerPC Macs. It assumes you use CodeWarrior for you development.
4cb333482160 Added Corran Webster's explanation of how to write extensions in MPW and a pointer to his W documentation.
Jack Jansen <jack.jansen@cwi.nl>
parents: 11626
diff changeset
82
4cb333482160 Added Corran Webster's explanation of how to write extensions in MPW and a pointer to his W documentation.
Jack Jansen <jack.jansen@cwi.nl>
parents: 11626
diff changeset
83 <LI>
4cb333482160 Added Corran Webster's explanation of how to write extensions in MPW and a pointer to his W documentation.
Jack Jansen <jack.jansen@cwi.nl>
parents: 11626
diff changeset
84 <A HREF="mpwextensions.html">Creating C extension modules using MPW</A>
4cb333482160 Added Corran Webster's explanation of how to write extensions in MPW and a pointer to his W documentation.
Jack Jansen <jack.jansen@cwi.nl>
parents: 11626
diff changeset
85 is a companion document, written by Corran Webster, which explains how you
4cb333482160 Added Corran Webster's explanation of how to write extensions in MPW and a pointer to his W documentation.
Jack Jansen <jack.jansen@cwi.nl>
parents: 11626
diff changeset
86 can develop Python extensions using Apple's free MPW compiler environment.
3457
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
87
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
88 <LI>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
89 <A HREF="applescript.html">Using Open Scripting Architecture from Python</A> explains
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
90 how to create a Python module interfacing to a scriptable application,
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
91 and how to use that module in your python program.
3568
6de44d966292 Modified for 1.3.3 distribution
Jack Jansen <jack.jansen@cwi.nl>
parents: 3531
diff changeset
92
6de44d966292 Modified for 1.3.3 distribution
Jack Jansen <jack.jansen@cwi.nl>
parents: 3531
diff changeset
93 <LI>
4243
1ce00cdc003d Added ref to cgi.html
Jack Jansen <jack.jansen@cwi.nl>
parents: 3946
diff changeset
94 <A HREF="cgi.html">Using python to create CGI scripts</A> is a preliminary
1ce00cdc003d Added ref to cgi.html
Jack Jansen <jack.jansen@cwi.nl>
parents: 3946
diff changeset
95 introduction to writing CGI scripts in Python and to writing scriptable applications
1ce00cdc003d Added ref to cgi.html
Jack Jansen <jack.jansen@cwi.nl>
parents: 3946
diff changeset
96 in Python.
1ce00cdc003d Added ref to cgi.html
Jack Jansen <jack.jansen@cwi.nl>
parents: 3946
diff changeset
97
1ce00cdc003d Added ref to cgi.html
Jack Jansen <jack.jansen@cwi.nl>
parents: 3946
diff changeset
98 <LI>
3946
6f78d3164376 Moved build.html to building.html
Jack Jansen <jack.jansen@cwi.nl>
parents: 3751
diff changeset
99 <A HREF="building.html">Building Mac Python from source</A> explains
3568
6de44d966292 Modified for 1.3.3 distribution
Jack Jansen <jack.jansen@cwi.nl>
parents: 3531
diff changeset
100 how to build a PPC or 68K interpreter from a source distribution.
4963
5ded2bc1908b "ported" Guido's embedding demo to the mac, and wrote some minimal
Jack Jansen <jack.jansen@cwi.nl>
parents: 4243
diff changeset
101
5ded2bc1908b "ported" Guido's embedding demo to the mac, and wrote some minimal
Jack Jansen <jack.jansen@cwi.nl>
parents: 4243
diff changeset
102 <LI>
5ded2bc1908b "ported" Guido's embedding demo to the mac, and wrote some minimal
Jack Jansen <jack.jansen@cwi.nl>
parents: 4243
diff changeset
103 <A HREF="embed.html">Embedding Python on the Mac</A> is a minimal example of
5ded2bc1908b "ported" Guido's embedding demo to the mac, and wrote some minimal
Jack Jansen <jack.jansen@cwi.nl>
parents: 4243
diff changeset
104 how to embed Python in other Mac applications.
5ded2bc1908b "ported" Guido's embedding demo to the mac, and wrote some minimal
Jack Jansen <jack.jansen@cwi.nl>
parents: 4243
diff changeset
105
3457
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
106 </UL>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
107
3531
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
108 The Python distribution contains a few more examples, all unexplained:
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
109 <UL>
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
110 <LI>
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
111 <I>PICTbrowse</I> is an application that locates PICT
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
112 resources and displays them, it demonstrates some quickdraw and the
9926
0455402677a8 Added examples/testcode for the Icn module.
Jack Jansen <jack.jansen@cwi.nl>
parents: 8556
diff changeset
113 resource and list managers. In the same folder you will find the very
11626
c6e143dfc5a3 Added a reference to oldPICTbrowse.py.
Jack Jansen <jack.jansen@cwi.nl>
parents: 9926
diff changeset
114 similar scripts ICONbrowse and cicnbrowse. oldPICTbrowse is the same program
c6e143dfc5a3 Added a reference to oldPICTbrowse.py.
Jack Jansen <jack.jansen@cwi.nl>
parents: 9926
diff changeset
115 but form the pre-Appearance era, it uses a dialog with a user item and
c6e143dfc5a3 Added a reference to oldPICTbrowse.py.
Jack Jansen <jack.jansen@cwi.nl>
parents: 9926
diff changeset
116 creates and manages its own List object.
3531
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
117
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
118 <LI>
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
119 <I>Imgbrowse</I> displays image files in
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
120 many different formats (gif, tiff, pbm, etc). It shows how to use the
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
121 img modules on the mac.
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
122
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
123 <LI>
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
124 <I>Quicktime</I> has the standard <code>MovieInWindow</code> and
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
125 <code>VerySimplePlayer</code> examples, re-coded in Python.
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
126
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
127 <LI>
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
128 <I>Resources</I>, <I>Sound</I> and <I>Speech</I> have some examples
7468
149a54798896 Added (minimal) documentation on how to build standalone applications
Jack Jansen <jack.jansen@cwi.nl>
parents: 6171
diff changeset
129 on using the respective managers. In the <i>Mac:Lib</i> folder you
149a54798896 Added (minimal) documentation on how to build standalone applications
Jack Jansen <jack.jansen@cwi.nl>
parents: 6171
diff changeset
130 will also find modules that do useful things with the Communications
149a54798896 Added (minimal) documentation on how to build standalone applications
Jack Jansen <jack.jansen@cwi.nl>
parents: 6171
diff changeset
131 Toolbox, the Finder interface, etc.
8150
3a52028fe936 Added Just's printing demo code.
Jack Jansen <jack.jansen@cwi.nl>
parents: 7468
diff changeset
132
3a52028fe936 Added Just's printing demo code.
Jack Jansen <jack.jansen@cwi.nl>
parents: 7468
diff changeset
133 <LI>
3a52028fe936 Added Just's printing demo code.
Jack Jansen <jack.jansen@cwi.nl>
parents: 7468
diff changeset
134 <I>Printing</I> has an example on using the Printing module to, you guessed
3a52028fe936 Added Just's printing demo code.
Jack Jansen <jack.jansen@cwi.nl>
parents: 7468
diff changeset
135 it, print from Python. The code is somewhat self-documenting. Donated
3a52028fe936 Added Just's printing demo code.
Jack Jansen <jack.jansen@cwi.nl>
parents: 7468
diff changeset
136 by Just van Rossum, who also donated the Printing module itself.
3531
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
137 </UL>
38e1480e7f89 Added documentation on FrameWork, TextEdit and Waste
Jack Jansen <jack.jansen@cwi.nl>
parents: 3505
diff changeset
138
3457
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
139 At some point in the (possibly distant) future, I will add chapters on
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
140 how to use bgen to create modules completely automatic and how to make
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
141 your Python program scriptable, but that will have to wait. <p>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
142
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
143 <HR>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
144
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
145 Please let me know if you miss critical information in this
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
146 document. I am quite sure that I will never find the time to turn it
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
147 into a complete MacPython programmers guide (which would probably be a
7468
149a54798896 Added (minimal) documentation on how to build standalone applications
Jack Jansen <jack.jansen@cwi.nl>
parents: 6171
diff changeset
148 400-page book instead of 10 lousy html-files), but it should contain
3457
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
149 at least the information that is neither in the standard Python
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
150 documentation nor in Inside Mac or other Mac programmers
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
151 documentation. <p>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
152
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
153 <HR>
a71d2fd90fa8 Explanations of the examples here
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
154 <A HREF="http://www.cwi.nl/~jack">Jack Jansen</A>,
12455
4cb333482160 Added Corran Webster's explanation of how to write extensions in MPW and a pointer to his W documentation.
Jack Jansen <jack.jansen@cwi.nl>
parents: 11626
diff changeset
155 <A HREF="mailto:jack@cwi.nl">jack@cwi.nl</A>, 22-Apr-00.
3751
2db6363459ca - Added a file dialog example
Jack Jansen <jack.jansen@cwi.nl>
parents: 3568
diff changeset
156 </BODY></HTML>