import ospath1 = os.getcwd()# илиpath2 = os.path.dirname( os.path.realpath(__file__))print(path1)print(path2)