Documentation/Source/eric5.patch_modpython.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.patch_modpython</h1> 23 <h1>eric5.patch_modpython</h1>
24 <p> 24 <p>
25 &#83;&#99;&#114;&#105;&#112;&#116; &#116;&#111; &#112;&#97;&#116;&#99;&#104; &#109;&#111;&#100;&#95;&#112;y&#116;&#104;&#111;&#110; &#102;&#111;&#114; &#117;&#115;&#97;&#103;&#101; w&#105;&#116;&#104; &#116;&#104;&#101; &#101;&#114;&#105;&#99;&#53; &#73;&#68;&#69;. 25 Script to patch mod_python for usage with the eric5 IDE.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>modDir</td></tr><tr><td>progName</td></tr> 29 <tr><td>modDir</td></tr><tr><td>progName</td></tr>
30 </table> 30 </table>
34 </table> 34 </table>
35 <h3>Functions</h3> 35 <h3>Functions</h3>
36 <table> 36 <table>
37 <tr> 37 <tr>
38 <td><a href="#initGlobals">initGlobals</a></td> 38 <td><a href="#initGlobals">initGlobals</a></td>
39 <td>&#83;&#101;&#116;&#115; &#116;&#104;&#101; v&#97;&#108;&#117;&#101;&#115; &#111;&#102; &#103;&#108;&#111;&#98;&#97;&#108;&#115; &#116;&#104;&#97;&#116; &#110;&#101;&#101;&#100; &#109;&#111;&#114;&#101; &#116;&#104;&#97;&#110; &#97; &#115;&#105;&#109;&#112;&#108;&#101; &#97;&#115;&#115;&#105;&#103;&#110;&#109;&#101;&#110;&#116;.</td> 39 <td>Sets the values of globals that need more than a simple assignment.</td>
40 </tr><tr> 40 </tr><tr>
41 <td><a href="#main">main</a></td> 41 <td><a href="#main">main</a></td>
42 <td>&#84;&#104;&#101; &#109;&#97;&#105;&#110; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#115;&#99;&#114;&#105;&#112;&#116;.</td> 42 <td>The main function of the script.</td>
43 </tr><tr> 43 </tr><tr>
44 <td><a href="#usage">usage</a></td> 44 <td><a href="#usage">usage</a></td>
45 <td>&#68;&#105;&#115;&#112;&#108;&#97;y &#97; &#117;&#115;&#97;&#103;&#101; &#109;&#101;&#115;&#115;&#97;&#103;&#101; &#97;&#110;&#100; &#101;x&#105;&#116;.</td> 45 <td>Display a usage message and exit.</td>
46 </tr> 46 </tr>
47 </table> 47 </table>
48 <hr /><hr /> 48 <hr /><hr />
49 <a NAME="initGlobals" ID="initGlobals"></a> 49 <a NAME="initGlobals" ID="initGlobals"></a>
50 <h2>initGlobals</h2> 50 <h2>initGlobals</h2>
51 <b>initGlobals</b>(<i></i>) 51 <b>initGlobals</b>(<i></i>)
52 <p> 52 <p>
53 &#83;&#101;&#116;&#115; &#116;&#104;&#101; v&#97;&#108;&#117;&#101;&#115; &#111;&#102; &#103;&#108;&#111;&#98;&#97;&#108;&#115; &#116;&#104;&#97;&#116; &#110;&#101;&#101;&#100; &#109;&#111;&#114;&#101; &#116;&#104;&#97;&#110; &#97; &#115;&#105;&#109;&#112;&#108;&#101; &#97;&#115;&#115;&#105;&#103;&#110;&#109;&#101;&#110;&#116;. 53 Sets the values of globals that need more than a simple assignment.
54 </p> 54 </p>
55 <div align="right"><a href="#top">Up</a></div> 55 <div align="right"><a href="#top">Up</a></div>
56 <hr /><hr /> 56 <hr /><hr />
57 <a NAME="main" ID="main"></a> 57 <a NAME="main" ID="main"></a>
58 <h2>main</h2> 58 <h2>main</h2>
59 <b>main</b>(<i>argv</i>) 59 <b>main</b>(<i>argv</i>)
60 <p> 60 <p>
61 &#84;&#104;&#101; &#109;&#97;&#105;&#110; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#115;&#99;&#114;&#105;&#112;&#116;. 61 The main function of the script.
62 </p><p> 62 </p><p>
63 &#97;&#114;&#103;v &#105;&#115; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#99;&#111;&#109;&#109;&#97;&#110;&#100; &#108;&#105;&#110;&#101; &#97;&#114;&#103;&#117;&#109;&#101;&#110;&#116;&#115;. 63 argv is the list of command line arguments.
64 </p> 64 </p>
65 <div align="right"><a href="#top">Up</a></div> 65 <div align="right"><a href="#top">Up</a></div>
66 <hr /><hr /> 66 <hr /><hr />
67 <a NAME="usage" ID="usage"></a> 67 <a NAME="usage" ID="usage"></a>
68 <h2>usage</h2> 68 <h2>usage</h2>
69 <b>usage</b>(<i>rcode = 2</i>) 69 <b>usage</b>(<i>rcode = 2</i>)
70 <p> 70 <p>
71 &#68;&#105;&#115;&#112;&#108;&#97;y &#97; &#117;&#115;&#97;&#103;&#101; &#109;&#101;&#115;&#115;&#97;&#103;&#101; &#97;&#110;&#100; &#101;x&#105;&#116;. 71 Display a usage message and exit.
72 </p><p> 72 </p><p>
73 &#114;&#99;&#111;&#100;&#101; &#105;&#115; &#116;&#104;&#101; &#114;&#101;&#116;&#117;&#114;&#110; &#99;&#111;&#100;&#101; &#112;&#97;&#115;&#115;&#101;&#100; &#98;&#97;&#99;&#107; &#116;&#111; &#116;&#104;&#101; &#99;&#97;&#108;&#108;&#105;&#110;&#103; &#112;&#114;&#111;&#99;&#101;&#115;&#115;. 73 rcode is the return code passed back to the calling process.
74 </p> 74 </p>
75 <div align="right"><a href="#top">Up</a></div> 75 <div align="right"><a href="#top">Up</a></div>
76 <hr /> 76 <hr />
77 </body></html> 77 </body></html>

eric ide

mercurial