So, if I want to use libraries that are not installed via pip installer, I have to include these lines into my scripts:
import sys, os dir_path = os.path.dirname(os.path.realpath(__file__)) os.chdir(dir_path)
I should probably mention that I do this to run my scripts:
1: open run dialog, type cmd.
2: type in cd c:\python directory
3: Pasting my script path and hitting enter.
So yeah, any way to illiminate the lines pasted above from my scripts?
What is hard is making code that accepts different and sometimes unexpected types of input and still works.
This is what truly takes a large amount of effort on a developer's part.