====== Python Patterns ====== ====== Nohup + print ====== To avoid explicit ''%%sys.stdout.flush()%%'' statements, one should use ''%%python3 -u script.py%%'' which explicitly flush all print statements for the standard streams. Keywords: python python3 patterns design tricks trade flush nohup