ユーザーからファイルを取得
file = input("Please enter the data file you wish to open: ")
ユーザーから検索値を取得する
value = int(input("Input a number to search for: "))
ファイルを開く
datlist = open(file, "rb")
ファイル内の行を読み取る
FileNums = datlist.read().splitlines()
ファイルを閉じる
datlist.close()