|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.patch_modpython</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.patch_modpython</h1> |
|
23 <p> |
|
24 Script to patch mod_python for usage with the eric6 IDE. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>modDir</td></tr><tr><td>progName</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr><td>None</td></tr> |
|
33 </table> |
|
34 <h3>Functions</h3> |
|
35 <table> |
|
36 <tr> |
|
37 <td><a href="#initGlobals">initGlobals</a></td> |
|
38 <td>Module function to set the values of globals that need more than a simple assignment.</td> |
|
39 </tr><tr> |
|
40 <td><a href="#main">main</a></td> |
|
41 <td>The main function of the script.</td> |
|
42 </tr><tr> |
|
43 <td><a href="#usage">usage</a></td> |
|
44 <td>Display a usage message and exit.</td> |
|
45 </tr> |
|
46 </table> |
|
47 <hr /><hr /> |
|
48 <a NAME="initGlobals" ID="initGlobals"></a> |
|
49 <h2>initGlobals</h2> |
|
50 <b>initGlobals</b>(<i></i>) |
|
51 <p> |
|
52 Module function to set the values of globals that need more than a |
|
53 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><dl> |
|
63 <dt><i>argv</i></dt> |
|
64 <dd> |
|
65 list of command line arguments (list of strings) |
|
66 </dd> |
|
67 </dl> |
|
68 <div align="right"><a href="#top">Up</a></div> |
|
69 <hr /><hr /> |
|
70 <a NAME="usage" ID="usage"></a> |
|
71 <h2>usage</h2> |
|
72 <b>usage</b>(<i>rcode=2</i>) |
|
73 <p> |
|
74 Display a usage message and exit. |
|
75 </p><dl> |
|
76 <dt><i>rcode</i></dt> |
|
77 <dd> |
|
78 return code passed back to the calling process (integer) |
|
79 </dd> |
|
80 </dl> |
|
81 <div align="right"><a href="#top">Up</a></div> |
|
82 <hr /> |
|
83 </body></html> |