[Tutor] Python-windows command prompt interaction?
juzzydee at gmail.com
Wed Jun 11 08:10:16 CEST 2008
On Wed, Jun 11, 2008 at 3:11 PM, Trey Keown <trey at opmstech.org> wrote:
> Hey all,
> I'm creating a program that will copy a user's internet history from
> Internet Explorer, and I'm having a bit of trouble.
> I need to get python to either initiate a command via the command prompt,
> or open a file with its default program (in this case, a .bat file with
> I've been googling a bit, but I can't seem to find any answers.
> Thanks for any help.
> Tutor maillist - Tutor at python.org
I think os.system should do the trick in running something from the command
Will run the dir command. I'm not sure if that's what you're looking for but
it sounds about right.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor