Dec-06-2018, 03:04 PM
(Dec-06-2018, 10:08 AM)Larz60+ Wrote: when running in IDE,
os.chdir(os.path.abspath(os.path.dirname(__file__)))This assures that the starting directory for relative operations is always the directory where python script resides.
I have 10 .py files each under both directories.do i need to keep this statement in all .py files?