def openfile(): File_Name = entr.get() File_Path = os.path.join(\'C:\\\\Users\\\\Desktop\\\\Project\', File_Name) with open(File_Path) as dosya: