Resolve OS System Call Happening Before Print Function in Python - DevPops-Inc/python GitHub Wiki
• The following resolution is for if the os.system()
call happens before the print()
function when the code explicits has the print()
function call before the os.system()
call.
•
• Click on the right of the print()
function before the os.system()
call and type ; sys.stdout.flush()
to flush stdout
before the os.system()
call.
•
• Run the Python script again and the os.system()
call will happen after the print()
function this time around.
•