|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.eric7_mpy</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.eric7_mpy</h1> |
|
10 <p> |
|
11 eric MicroPython devices. |
|
12 </p> |
|
13 <p> |
|
14 This is the main Python script to interact with MicroPython or CircuitPython devices |
|
15 from outside of the IDE. |
|
16 </p> |
|
17 |
|
18 <h3>Global Attributes</h3> |
|
19 <table> |
|
20 <tr><td>args</td></tr> |
|
21 </table> |
|
22 |
|
23 <h3>Classes</h3> |
|
24 <table> |
|
25 <tr><td>None</td></tr> |
|
26 </table> |
|
27 |
|
28 <h3>Functions</h3> |
|
29 <table> |
|
30 <tr> |
|
31 <td><a href="#createArgparseNamespace">createArgparseNamespace</a></td> |
|
32 <td>Function to create an argument parser.</td> |
|
33 </tr> |
|
34 <tr> |
|
35 <td><a href="#createMainWidget">createMainWidget</a></td> |
|
36 <td>Function to create the main widget.</td> |
|
37 </tr> |
|
38 <tr> |
|
39 <td><a href="#main">main</a></td> |
|
40 <td>Main entry point into the application.</td> |
|
41 </tr> |
|
42 </table> |
|
43 |
|
44 <hr /> |
|
45 <hr /> |
|
46 <a NAME="createArgparseNamespace" ID="createArgparseNamespace"></a> |
|
47 <h2>createArgparseNamespace</h2> |
|
48 <b>createArgparseNamespace</b>(<i></i>) |
|
49 <p> |
|
50 Function to create an argument parser. |
|
51 </p> |
|
52 |
|
53 <dl> |
|
54 <dt>Return:</dt> |
|
55 <dd> |
|
56 created argument parser object |
|
57 </dd> |
|
58 </dl> |
|
59 <dl> |
|
60 <dt>Return Type:</dt> |
|
61 <dd> |
|
62 argparse.ArgumentParser |
|
63 </dd> |
|
64 </dl> |
|
65 <div align="right"><a href="#top">Up</a></div> |
|
66 <hr /> |
|
67 <hr /> |
|
68 <a NAME="createMainWidget" ID="createMainWidget"></a> |
|
69 <h2>createMainWidget</h2> |
|
70 <b>createMainWidget</b>(<i>args</i>) |
|
71 <p> |
|
72 Function to create the main widget. |
|
73 </p> |
|
74 |
|
75 <dl> |
|
76 |
|
77 <dt><i>args</i> (argparse.Namespace)</dt> |
|
78 <dd> |
|
79 namespace object containing the parsed command line parameters |
|
80 </dd> |
|
81 </dl> |
|
82 <dl> |
|
83 <dt>Return:</dt> |
|
84 <dd> |
|
85 reference to the main widget |
|
86 </dd> |
|
87 </dl> |
|
88 <dl> |
|
89 <dt>Return Type:</dt> |
|
90 <dd> |
|
91 QWidget |
|
92 </dd> |
|
93 </dl> |
|
94 <div align="right"><a href="#top">Up</a></div> |
|
95 <hr /> |
|
96 <hr /> |
|
97 <a NAME="main" ID="main"></a> |
|
98 <h2>main</h2> |
|
99 <b>main</b>(<i></i>) |
|
100 <p> |
|
101 Main entry point into the application. |
|
102 </p> |
|
103 |
|
104 <div align="right"><a href="#top">Up</a></div> |
|
105 <hr /> |
|
106 </body></html> |