import os import sys def get_current(): print(os.getcwd()) print(sys.argv[0]) print(os.path.abspath("../..")) print(os.path.abspath("..")) print(os.path.abspath(".")) if __name__ == '__main__': get_current()