But if I do so,
the problem is that the shell is restarted,
so previous calculations are lost.

Maybe a third run option should be available:
- change folder in current shell, and execute file without restarting the 
shell

Thanks,
Dietrich

Il giorno giovedì 22 settembre 2016 10:32:58 UTC+2, Almar Klein ha scritto:
>
> To set the working directory to the script you run, use “run as script”.
>
>  
>
> If you mark a directory as a project (i.e. star it), you can press the 
> star and select “go to this directory in the shell”.
>
>  
>
> Regards,
>
>   Almar
>
>  
>
> *From: *Dietrich Pescoller <javascript:>
> *Sent: *21 September 2016 11:16
> *To: *Pyzo <javascript:>
> *Cc: *aujo...@gmail.com <javascript:>
> *Subject: *[Pyzo] Re: Launch shell in script directory
>
>  
>
> I have the same difficult,
> wandering if you found a solution for this.
>
> Thanks
>
> Il giorno lunedì 7 dicembre 2015 15:20:22 UTC+1, aujo...@gmail.com ha 
> scritto:
>
> Hi, 
>
> This may be a really silly question but when I want to execute a simple 
> script with only one file of code using F5 (which seems the most 
> appropriate way) the current working folder of the shell is not updated to 
> the folder of the script (like it woud in matlab for instance). 
>
> I also noticed that in the right panel it is possible to show some sort of 
> explorer from which I can load python files for instance. 
>
> My question is : How do you "tell" pyzo to run the script in its folder 
> (which would be convenient when using external data files). 
> Is it possible to change the current directory the explorer I was talking 
> about (like in Matlab)? 
>
> I am asking this because I cannot use the autocompletion in the python 
> shell when using the cd command which makes it really tedious to use. 
>
> Thanks a lot.
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Pyzo" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to pyzo+uns...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Pyzo" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyzo+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to