Run Windows commands from Python console
g.morkvenas at gmail.com
g.morkvenas at gmail.com
Sun Sep 3 08:56:54 EDT 2017
More information about the Python-list mailing list
Sun Sep 3 08:56:54 EDT 2017
- Previous message (by thread): meaning of [ ]
- Next message (by thread): Run Windows commands from Python console
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message (by thread): meaning of [ ]
- Next message (by thread): Run Windows commands from Python console
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list