import os, time print(os.path.dirname(os.path.abspath(__file__))) time.sleep(3)