Re: os.starfile() linux

2009-12-20 Thread Todd A. Jacobs
On Mon, Nov 30, 2009 at 05:35:31PM +, joao abrantes wrote: to open a new shell and to put the output of the new python program there.. The subprocess module is probably what you want. -- Oh, look: rocks! -- Doctor Who, Destiny of the Daleks --

Re: Invalid syntax error

2009-12-20 Thread Todd A. Jacobs
On Sun, Dec 20, 2009 at 08:40:05AM -0500, Ray Holt wrote: Why am I getting an invalid syntax error on the following: os.chdir(c:\\Python_Modules). The error message says the colon after c You need to pass either a string literal or a variable. If you're passing a string, like you are trying to