Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #327

Problem with Dos command by python script

From Jonatas Emidio <jonatasemidio@gmail.com>
Newsgroups comp.lang.python.announce
Subject Problem with Dos command by python script
Date 2011-09-14 13:13 -0700
Organization http://groups.google.com
Message-ID <mailman.1135.1316051192.27778.python-announce-list@python.org> (permalink)

Show all headers | View raw


Here i come!!

I have the following problem...
I need run by python script a string with some "DOS commands - Windows
prompt"!!
For exemple:
print 'cd temp'
print 'mkdir temp_app'

How can i run this string in the python, but as a DOS interpreter?

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

Problem with Dos command by python script Jonatas Emidio <jonatasemidio@gmail.com> - 2011-09-14 13:13 -0700

csiph-web