¦ if not os.path.exists(tmp_file): ¦ ¦ exists = False ¦ else: ¦ ¦ exists = True