các pro giúp em đây là lỗi gì ạ?
Traceback (most recent call last):
File "C:\Users\HP\Desktop\nana.py", line 3, in <module>
script, filename = argv
ValueError: need more than 1 value to unpack
cái này là code:
from sys import argv
script, filename = argv
txt = open(filename)
print"her's your file %r:" % filename
print txt.read()
print" Type the filename agin:"
file_again = raw_input("> ")
txt_again = open(file_again)
print txt_again.read()
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?