def get_text_filename():
'''() -> str
Return the name of the file containing the plaintext or cipher text.
'''
return input("Enter the file to read: ")
ファイル名が初めて入力された後、入力されたファイル名が何であったかを呼び出すことができるようにしたい。どうすればいいですか?
def get_text_filename():
'''() -> str
Return the name of the file containing the plaintext or cipher text.
'''
return input("Enter the file to read: ")
ファイル名が初めて入力された後、入力されたファイル名が何であったかを呼び出すことができるようにしたい。どうすればいいですか?