Jul-05-2023, 07:39 AM
(This post was last modified: Jul-05-2023, 07:39 AM by Gribouillis.)
(Jul-04-2023, 11:18 PM)Pedroski55 Wrote: sys.path.append('/home/pedro/myPython/myModules/')@Pedroski55 you could write this line in a (new?) file named
usercustomize.py
in the directory returned by site.getusersitepackages()
This would spare you the effort to write this line in all your scripts.
Also the PATH variable is for executable programs, not for Python modules.