SyntaxFix
Write A Post
Hire A Developer
Questions
Try this,
import os os.path.dirname(os.path.realpath(__file__))