|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.patch_modpython</title> |
|
6 <style> |
|
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.patch_modpython</h1> |
|
12 <p> |
|
13 Script to patch mod_python for usage with the eric5 IDE. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 <table> |
|
17 <tr><td>modDir</td></tr><tr><td>progName</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr><td>None</td></tr> |
|
22 </table> |
|
23 <h3>Functions</h3> |
|
24 <table> |
|
25 <tr> |
|
26 <td><a href="#initGlobals">initGlobals</a></td> |
|
27 <td>Sets the values of globals that need more than a simple assignment.</td> |
|
28 </tr><tr> |
|
29 <td><a href="#main">main</a></td> |
|
30 <td>The main function of the script.</td> |
|
31 </tr><tr> |
|
32 <td><a href="#usage">usage</a></td> |
|
33 <td>Display a usage message and exit.</td> |
|
34 </tr> |
|
35 </table> |
|
36 <hr /><hr /> |
|
37 <a NAME="initGlobals" ID="initGlobals"></a> |
|
38 <h2>initGlobals</h2> |
|
39 <b>initGlobals</b>(<i></i>) |
|
40 <p> |
|
41 Sets the values of globals that need more than a simple assignment. |
|
42 </p> |
|
43 <div align="right"><a href="#top">Up</a></div> |
|
44 <hr /><hr /> |
|
45 <a NAME="main" ID="main"></a> |
|
46 <h2>main</h2> |
|
47 <b>main</b>(<i>argv</i>) |
|
48 <p> |
|
49 The main function of the script. |
|
50 </p><p> |
|
51 argv is the list of command line arguments. |
|
52 </p> |
|
53 <div align="right"><a href="#top">Up</a></div> |
|
54 <hr /><hr /> |
|
55 <a NAME="usage" ID="usage"></a> |
|
56 <h2>usage</h2> |
|
57 <b>usage</b>(<i>rcode = 2</i>) |
|
58 <p> |
|
59 Display a usage message and exit. |
|
60 </p><p> |
|
61 rcode is the return code passed back to the calling process. |
|
62 </p> |
|
63 <div align="right"><a href="#top">Up</a></div> |
|
64 <hr /> |
|
65 </body></html> |