|
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>eric4.patch_modpython</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric4.patch_modpython</h1> |
|
24 <p> |
|
25 Script to patch mod_python for usage with the eric4 IDE. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>modDir</td></tr><tr><td>progName</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr><td>None</td></tr> |
|
34 </table> |
|
35 <h3>Functions</h3> |
|
36 <table> |
|
37 <tr> |
|
38 <td><a href="#initGlobals">initGlobals</a></td> |
|
39 <td>Sets the values of globals that need more than a simple assignment.</td> |
|
40 </tr><tr> |
|
41 <td><a href="#main">main</a></td> |
|
42 <td>The main function of the script.</td> |
|
43 </tr><tr> |
|
44 <td><a href="#usage">usage</a></td> |
|
45 <td>Display a usage message and exit.</td> |
|
46 </tr> |
|
47 </table> |
|
48 <hr /><hr /> |
|
49 <a NAME="initGlobals" ID="initGlobals"></a> |
|
50 <h2>initGlobals</h2> |
|
51 <b>initGlobals</b>(<i></i>) |
|
52 <p> |
|
53 Sets the values of globals that need more than a simple assignment. |
|
54 </p> |
|
55 <div align="right"><a href="#top">Up</a></div> |
|
56 <hr /><hr /> |
|
57 <a NAME="main" ID="main"></a> |
|
58 <h2>main</h2> |
|
59 <b>main</b>(<i>argv</i>) |
|
60 <p> |
|
61 The main function of the script. |
|
62 </p><p> |
|
63 argv is the list of command line arguments. |
|
64 </p> |
|
65 <div align="right"><a href="#top">Up</a></div> |
|
66 <hr /><hr /> |
|
67 <a NAME="usage" ID="usage"></a> |
|
68 <h2>usage</h2> |
|
69 <b>usage</b>(<i>rcode = 2</i>) |
|
70 <p> |
|
71 Display a usage message and exit. |
|
72 </p><p> |
|
73 rcode is the return code passed back to the calling process. |
|
74 </p> |
|
75 <div align="right"><a href="#top">Up</a></div> |
|
76 <hr /> |
|
77 </body></html> |