Python Forum
Performance options for sys.stdout.writelines
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Performance options for sys.stdout.writelines
#11
Thanks all, tried a few things and will keep it as it is. Does anyone have a suggestion for enhancing performance using sys.stdout.writelines? Have not tried import multiprocessing, but I do think this would work. Is there any standard library functions that allow writelines to be faster for large files? Appreciated the input, it helped.

Dave
Reply


Messages In This Thread
RE: Performance options for sys.stdout.writelines - by dgrunwal - Aug-23-2022, 01:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [subprocess] Why stdout sent to stderr? Winfried 3 522 Jan-26-2024, 07:26 PM
Last Post: snippsat
  writelines only writes one line to file gr3yali3n 2 2,427 Dec-05-2021, 10:02 PM
Last Post: gr3yali3n
  changing stdout and stderr Skaperen 4 2,723 Dec-02-2020, 08:58 PM
Last Post: Skaperen
  print a line break in writelines() method leodavinci1990 1 6,522 Oct-12-2020, 06:36 AM
Last Post: DeaD_EyE
  Get stdout of a running process yok0 0 3,062 Aug-20-2020, 10:12 AM
Last Post: yok0
  Can argparse support undocumented options? pjfarley3 3 2,270 Aug-14-2020, 06:13 AM
Last Post: pjfarley3
  will with sys.stdout as f: close sys.stdout? Skaperen 9 4,675 Nov-03-2019, 07:57 AM
Last Post: Gribouillis
  performance kerzol81 1 1,941 Oct-07-2019, 10:19 AM
Last Post: buran
  Help with options raiden 1 1,951 Aug-30-2019, 12:57 AM
Last Post: scidam
  Distilling strings using .writelines() and .read() tedie 1 2,048 Jun-24-2019, 09:56 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020