Message263638
| Author |
Antony.Lee |
| Recipients |
Antony.Lee, docs@python |
| Date |
2016年04月18日.01:55:00 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1460944502.67.0.955110104065.issue26792@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
$ pydoc runpy
run_module(mod_name, init_globals=None, run_name=None, alter_sys=False)
Execute a module's code without importing it
Returns the resulting top level namespace dictionary
run_path(path_name, init_globals=None, run_name=None)
Execute code located at the specified filesystem location
Returns the resulting top level namespace dictionary
The file path may refer directly to a Python script (i.e.
one that could be directly executed with execfile) or else
it may refer to a zipfile or directory containing a top
level __main__.py script.
The meaning of the arguments should be documented (e.g. by copy-pasting the html docs). (And some sentences are missing final dots.) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年04月18日 01:55:02 | Antony.Lee | set | recipients:
+ Antony.Lee, docs@python |
| 2016年04月18日 01:55:02 | Antony.Lee | set | messageid: <1460944502.67.0.955110104065.issue26792@psf.upfronthosting.co.za> |
| 2016年04月18日 01:55:02 | Antony.Lee | link | issue26792 messages |
| 2016年04月18日 01:55:00 | Antony.Lee | create |
|