obviously your file is not found in $HOME it must reside elsewhere
either specify the path with urlopen('PATH... or set `py-execute-buffer' accordingly
also in script writing
os.chdir("MY_DIR")
should work.
Finally, if already in right, current directory,
py-use-current-dir-when-execute-p
should suffice when set to `t'
attached an example as it works here
obviously your file is not found in $HOME
it must reside elsewhere
either specify the path with urlopen('PATH...
or set `py-execute-buffer' accordingly
also in script writing
os.chdir("MY_DIR")
should work.
Finally, if already in right, current directory,
py-use- current- dir-when- execute- p
should suffice when set to `t'
attached an example as it works here