Pyzo current latest release 4.15.0 Shells > Python > Edit shell configurations... does not seem to solve this issue:
Investigate Run, especially Change directory when executing file.
import os
print(os.getcwd())
Run > Run file as script has the wanted change directory behavior, but not Run > Execute file, enabling Change directory when executing file makes Execute file has the wanted change directory behavior.
I agree that running part of a script in its folder is ambiguous and running the whole script in its folder is already easing some use cases on my end.
Pyzo current latest release 4.15.0
Shells
>Python
>Edit shell configurations...
does not seem to solve this issue:Investigate
Run
, especiallyChange directory when executing file
.Run
>Run file as script
has the wanted change directory behavior, but notRun
>Execute file
, enablingChange directory when executing file
makesExecute file
has the wanted change directory behavior.I agree that running part of a script in its folder is ambiguous and running the whole script in its folder is already easing some use cases on my end.