Interfacing with the command line

2006-03-08 Thread Byte
I know its possible to acsess Python via the command line, but can I do the opposite and acsess the command line via Python? For example, can I write a script that will enter $ firefox on the command line, opening Firefox for me? Thanks in advance, -- /usr/bin/byte --

Re: Interfacing with the command line

2006-03-08 Thread petrov
http://effbot.org/librarybook/os.htm scroll down about half a page to example 8. is that what you're looking for? PV -- http://mail.python.org/mailman/listinfo/python-list

Re: Interfacing with the command line

2006-03-08 Thread Byte
Exactly what I want. Thanks a mill! -- /usr/bin/byte -- http://mail.python.org/mailman/listinfo/python-list

Re: Interfacing with the command line

2006-03-08 Thread Terry Hancock
On Wednesday 08 March 2006 09:35 am, Byte wrote: I know its possible to acsess Python via the command line, but can I do the opposite and acsess the command line via Python? For example, can I write a script that will enter $ firefox on the command line, opening Firefox for me? You have