Message162874
| Author |
amaury.forgeotdarc |
| Recipients |
amaury.forgeotdarc, p.fedin |
| Date |
2012年06月15日.08:38:47 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1339749528.26.0.667771884439.issue15073@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The documentation http://docs.python.org/library/commands.html
prominently says "Platforms: Unix". This module does not work on Windows.
You should really use the subprocess module:
>>> import subprocess
>>> output = subprocess.check_output("dir", shell=True) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年06月15日 08:38:48 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, p.fedin |
| 2012年06月15日 08:38:48 | amaury.forgeotdarc | set | messageid: <1339749528.26.0.667771884439.issue15073@psf.upfronthosting.co.za> |
| 2012年06月15日 08:38:47 | amaury.forgeotdarc | link | issue15073 messages |
| 2012年06月15日 08:38:47 | amaury.forgeotdarc | create |
|