eric6/Documentation/Source/patch_modpython.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7960
e8fc383322f7
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>patch_modpython</h1> 23 <h1>patch_modpython</h1>
24
23 <p> 25 <p>
24 Script to patch mod_python for usage with the eric6 IDE. 26 Script to patch mod_python for usage with the eric6 IDE.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>modDir</td></tr><tr><td>progName</td></tr> 31 <tr><td>modDir</td></tr><tr><td>progName</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
32 <tr><td>None</td></tr> 36 <tr><td>None</td></tr>
33 </table> 37 </table>
34 <h3>Functions</h3> 38 <h3>Functions</h3>
39
35 <table> 40 <table>
41
36 <tr> 42 <tr>
37 <td><a href="#initGlobals">initGlobals</a></td> 43 <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> 44 <td>Module function to set the values of globals that need more than a simple assignment.</td>
39 </tr><tr> 45 </tr>
46 <tr>
40 <td><a href="#main">main</a></td> 47 <td><a href="#main">main</a></td>
41 <td>The main function of the script.</td> 48 <td>The main function of the script.</td>
42 </tr><tr> 49 </tr>
50 <tr>
43 <td><a href="#usage">usage</a></td> 51 <td><a href="#usage">usage</a></td>
44 <td>Display a usage message and exit.</td> 52 <td>Display a usage message and exit.</td>
45 </tr> 53 </tr>
46 </table> 54 </table>
47 <hr /><hr /> 55 <hr />
56 <hr />
48 <a NAME="initGlobals" ID="initGlobals"></a> 57 <a NAME="initGlobals" ID="initGlobals"></a>
49 <h2>initGlobals</h2> 58 <h2>initGlobals</h2>
50 <b>initGlobals</b>(<i></i>) 59 <b>initGlobals</b>(<i></i>)
60
51 <p> 61 <p>
52 Module function to set the values of globals that need more than a 62 Module function to set the values of globals that need more than a
53 simple assignment. 63 simple assignment.
54 </p> 64 </p>
55 <div align="right"><a href="#top">Up</a></div> 65 <div align="right"><a href="#top">Up</a></div>
56 <hr /><hr /> 66 <hr />
67 <hr />
57 <a NAME="main" ID="main"></a> 68 <a NAME="main" ID="main"></a>
58 <h2>main</h2> 69 <h2>main</h2>
59 <b>main</b>(<i>argv</i>) 70 <b>main</b>(<i>argv</i>)
71
60 <p> 72 <p>
61 The main function of the script. 73 The main function of the script.
62 </p><dl> 74 </p>
75 <dl>
76
63 <dt><i>argv</i></dt> 77 <dt><i>argv</i></dt>
64 <dd> 78 <dd>
65 list of command line arguments (list of strings) 79 list of command line arguments (list of strings)
66 </dd> 80 </dd>
67 </dl> 81 </dl>
68 <div align="right"><a href="#top">Up</a></div> 82 <div align="right"><a href="#top">Up</a></div>
69 <hr /><hr /> 83 <hr />
84 <hr />
70 <a NAME="usage" ID="usage"></a> 85 <a NAME="usage" ID="usage"></a>
71 <h2>usage</h2> 86 <h2>usage</h2>
72 <b>usage</b>(<i>rcode=2</i>) 87 <b>usage</b>(<i>rcode=2</i>)
88
73 <p> 89 <p>
74 Display a usage message and exit. 90 Display a usage message and exit.
75 </p><dl> 91 </p>
92 <dl>
93
76 <dt><i>rcode</i></dt> 94 <dt><i>rcode</i></dt>
77 <dd> 95 <dd>
78 return code passed back to the calling process (integer) 96 return code passed back to the calling process (integer)
79 </dd> 97 </dd>
80 </dl> 98 </dl>

eric ide

mercurial