file = open("test.cpp") byte =0 while True: x = 1 line = file.readline() # read first line byte+=len(line) # store line size in bytes while (x!=6): # go on ...
確定! 回上一頁