0
Read 50 characters at a time from a file and append each chunk to a string to rebuild the original.
Write a program in Python.....
1 Resposta
+ 4
with open(file_name) as f:
while True:
c = f.read(50)
if not c:
print "End of file"
break
String += c