|
From: Thomas S. <t.s...@fz...> - 2009-11-17 19:42:52
|
i'm not sure if 'flush' is really needed for perl. python has the '-u' option to have stdin, stdout, and stderr unbuffered. perl doesn't have a similar option. so i think it's a python-specific problem. BTW, by using #!/usr/bin/python -u as the 1st line of your script, you need no 'flush()' stevecoh1 wrote: > > Thank you! That's the answer. Might want to tell Mr. Janert about this > so they can print an errata. Or is the flush not necessary in Perl? > > > Thomas Sefzick wrote: > >> >> you need a 'flush' after 'print'ing the two lines: >> >> #!/usr/bin/python >> >> import os >> import sys >> import math >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/strange-behavior-on-calling-gnuplot-from-cgi-script-written-in-python-tp26356744p26396244.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |