i have a script with few inputs as following :
wep = input("Q (0-5): ")
side = input("1 for defender, 2 for attacker: ")
Hit = input ("1 for hit,2 for berserk: ")
food = input("type the Q (0-5): ")
gift = input("type the Q (0-5): ")
work = input("region id: ")
how can i import mentioned inputs from a text file or csv file?