Re: execute script in certain directory

2007-07-09 Thread Gabriel Genellina
En Mon, 09 Jul 2007 14:09:40 -0300, Alex Popescu <[EMAIL PROTECTED]> escribió: > Interesting. I was wondering about the opposit: being in the parent > dir, how can I run a module from a package. (the current behavior when > running python dir_name\module.py is to consider the dir_name the > curr

Re: execute script in certain directory

2007-07-09 Thread Gabriel Genellina
En Mon, 09 Jul 2007 14:14:07 -0300, vasudevram <[EMAIL PROTECTED]> escribió: > On Jul 9, 8:31 pm, brad <[EMAIL PROTECTED]> wrote: >> When I use idle or a shell to execute a python script, the script >> executes in the directory it is currently in (in this case, my desktop). >> However, when usin

Re: execute script in certain directory

2007-07-09 Thread vasudevram
On Jul 9, 8:31 pm, brad <[EMAIL PROTECTED]> wrote: > When I use idle or a shell to execute a python script, the script > executes in the directory it is currently in (in this case, my desktop). > However, when using GNOME and right clicking the py script and selecting > 'open with python', the exec

Re: execute script in certain directory

2007-07-09 Thread Alex Popescu
On Jul 9, 6:31 pm, brad <[EMAIL PROTECTED]> wrote: > When I use idle or a shell to execute a python script, the script > executes in the directory it is currently in (in this case, my desktop). > However, when using GNOME and right clicking the py script and selecting > 'open with python', the exec