Zachary Ware <zachary.w...@gmail.com> added the comment:
Usage questions like this are better suited to the Users category at https://discuss.python.org/c/users/7 or the python-l...@python.org mailing list. The write is buffered. If you want it to be written before you read, add `f.flush()` after the write; `f.tell()` causes an implicit flush. See also the `buffering` argument to `open`. ---------- nosy: +zach.ware resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45076> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com