Here's how you read a file, and then write to it (overwriting any existing data), without closing and reopening: with open(filename, "r+") ...
確定! 回上一頁