83 <tr> |
83 <tr> |
84 <td><a href="#ModuleLoader.exec_module">exec_module</a></td> |
84 <td><a href="#ModuleLoader.exec_module">exec_module</a></td> |
85 <td>Public method to execute the created module.</td> |
85 <td>Public method to execute the created module.</td> |
86 </tr> |
86 </tr> |
87 <tr> |
87 <tr> |
88 <td><a href="#ModuleLoader.find_module">find_module</a></td> |
|
89 <td>Public method returning the module loader.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#ModuleLoader.find_spec">find_spec</a></td> |
88 <td><a href="#ModuleLoader.find_spec">find_spec</a></td> |
93 <td>Public method returning the module spec.</td> |
89 <td>Public method returning the module spec.</td> |
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#ModuleLoader.load_module">load_module</a></td> |
|
97 <td>Public method to load a module.</td> |
|
98 </tr> |
90 </tr> |
99 </table> |
91 </table> |
100 <h3>Static Methods</h3> |
92 <h3>Static Methods</h3> |
101 |
93 |
102 <table> |
94 <table> |
146 <a NAME="ModuleLoader.create_module" ID="ModuleLoader.create_module"></a> |
138 <a NAME="ModuleLoader.create_module" ID="ModuleLoader.create_module"></a> |
147 <h4>ModuleLoader.create_module</h4> |
139 <h4>ModuleLoader.create_module</h4> |
148 <b>create_module</b>(<i>spec</i>) |
140 <b>create_module</b>(<i>spec</i>) |
149 |
141 |
150 <p> |
142 <p> |
151 Public method to create a module based on the passed in spec. |
143 Public method to create a module based on the passed in spec. |
152 </p> |
144 </p> |
153 <dl> |
145 <dl> |
154 |
146 |
155 <dt><i>spec</i> (ModuleSpec)</dt> |
147 <dt><i>spec</i> (ModuleSpec)</dt> |
156 <dd> |
148 <dd> |
172 <a NAME="ModuleLoader.exec_module" ID="ModuleLoader.exec_module"></a> |
164 <a NAME="ModuleLoader.exec_module" ID="ModuleLoader.exec_module"></a> |
173 <h4>ModuleLoader.exec_module</h4> |
165 <h4>ModuleLoader.exec_module</h4> |
174 <b>exec_module</b>(<i>module</i>) |
166 <b>exec_module</b>(<i>module</i>) |
175 |
167 |
176 <p> |
168 <p> |
177 Public method to execute the created module. |
169 Public method to execute the created module. |
178 </p> |
170 </p> |
179 <dl> |
171 <dl> |
180 |
172 |
181 <dt><i>module</i> (module)</dt> |
173 <dt><i>module</i> (module)</dt> |
182 <dd> |
174 <dd> |
183 module to be executed |
175 module to be executed |
184 </dd> |
|
185 </dl> |
|
186 <a NAME="ModuleLoader.find_module" ID="ModuleLoader.find_module"></a> |
|
187 <h4>ModuleLoader.find_module</h4> |
|
188 <b>find_module</b>(<i>fullname, path=None</i>) |
|
189 |
|
190 <p> |
|
191 Public method returning the module loader. |
|
192 </p> |
|
193 <dl> |
|
194 |
|
195 <dt><i>fullname</i> (str)</dt> |
|
196 <dd> |
|
197 name of the module to be loaded |
|
198 </dd> |
|
199 <dt><i>path</i> (str)</dt> |
|
200 <dd> |
|
201 path to resolve the module name |
|
202 </dd> |
|
203 </dl> |
|
204 <dl> |
|
205 <dt>Returns:</dt> |
|
206 <dd> |
|
207 module loader object |
|
208 </dd> |
|
209 </dl> |
|
210 <dl> |
|
211 <dt>Return Type:</dt> |
|
212 <dd> |
|
213 object |
|
214 </dd> |
176 </dd> |
215 </dl> |
177 </dl> |
216 <a NAME="ModuleLoader.find_spec" ID="ModuleLoader.find_spec"></a> |
178 <a NAME="ModuleLoader.find_spec" ID="ModuleLoader.find_spec"></a> |
217 <h4>ModuleLoader.find_spec</h4> |
179 <h4>ModuleLoader.find_spec</h4> |
218 <b>find_spec</b>(<i>fullname, path, target=None</i>) |
180 <b>find_spec</b>(<i>fullname, path, target=None</i>) |
219 |
181 |
220 <p> |
182 <p> |
221 Public method returning the module spec. |
183 Public method returning the module spec. |
222 </p> |
184 </p> |
223 <dl> |
185 <dl> |
224 |
186 |
225 <dt><i>fullname</i> (str)</dt> |
187 <dt><i>fullname</i> (str)</dt> |
226 <dd> |
188 <dd> |
244 </dl> |
206 </dl> |
245 <dl> |
207 <dl> |
246 <dt>Return Type:</dt> |
208 <dt>Return Type:</dt> |
247 <dd> |
209 <dd> |
248 ModuleSpec |
210 ModuleSpec |
249 </dd> |
|
250 </dl> |
|
251 <a NAME="ModuleLoader.load_module" ID="ModuleLoader.load_module"></a> |
|
252 <h4>ModuleLoader.load_module</h4> |
|
253 <b>load_module</b>(<i>fullname</i>) |
|
254 |
|
255 <p> |
|
256 Public method to load a module. |
|
257 </p> |
|
258 <dl> |
|
259 |
|
260 <dt><i>fullname</i> (str)</dt> |
|
261 <dd> |
|
262 name of the module to be loaded |
|
263 </dd> |
|
264 </dl> |
|
265 <dl> |
|
266 <dt>Returns:</dt> |
|
267 <dd> |
|
268 reference to the loaded module |
|
269 </dd> |
|
270 </dl> |
|
271 <dl> |
|
272 <dt>Return Type:</dt> |
|
273 <dd> |
|
274 module |
|
275 </dd> |
211 </dd> |
276 </dl> |
212 </dl> |
277 <div align="right"><a href="#top">Up</a></div> |
213 <div align="right"><a href="#top">Up</a></div> |
278 <hr /> |
214 <hr /> |
279 </body></html> |
215 </body></html> |