taegwon

fix fileread.py to take other variables

...@@ -20,7 +20,7 @@ def print_menu(): ...@@ -20,7 +20,7 @@ def print_menu():
20 20
21 list_compare_fixed = [item.strip() for item in list_compare] 21 list_compare_fixed = [item.strip() for item in list_compare]
22 22
23 - fl = open("/home/ec2-user/menu_recommand_webpage-1/CHATBOT/final.txt",'w') 23 + fl = open(sys.argv[3],'w')
24 for i in list_compare_fixed: 24 for i in list_compare_fixed:
25 I=i.encode('utf8') 25 I=i.encode('utf8')
26 fl.write(I) 26 fl.write(I)
......