(Aug-29-2019, 04:18 PM)wlp Wrote: If I understand your comment correctly, then you save the "main.py" module and the "selfwrittenmodule.py" in the same Win10 folder.No and no,if look at my post again so if i save
selfwrittenmodule.py
in E:\div_code
(which i added to sys.path
as shown linked 2 times) then it work from any folder as long as Python37
is in Windows Environment Variables Path.(Aug-29-2019, 04:18 PM)wlp Wrote: To be sure that the length of the path is not causing the problem: does anybody here on this forum know about a limit on the pathname in python?You should uninstall and start a new install,as i think you messing this up Python 3.6/3.7 and pip installation under Windows .
This picture is in link,see what you should click to disable Path lenght.