SyntaxFix
Write A Post
Hire A Developer
Questions
os.path.split(os.path.realpath(__file__))[0]
os.path.realpath(__file__)return the abspath of the current script; os.path.split(abspath)[0] return the current dir
os.path.realpath(__file__)