Run Windows commands from Python console
g.morkvenas at gmail.com
g.morkvenas at gmail.com
Sun Sep 3 08:56:54 EDT 2017
Hello,
I run Python console in Windows. Can I run cmd prompt commands there?
If I run command dir I have:
>>> dir
<built-in function dir>
What does it means?
If i trying to create file I have error:
>>> type NUL > hh.txt
File "<stdin>", line 1
type NUL > hh.txt
^
SyntaxError: invalid syntax
What means line below:
File "<stdin>", line 1
I don't have any <stdin> file.
More information about the Python-list
mailing list