Il Fri, 16 Oct 2009 21:04:08 +0000, mattia ha scritto: > Is there a way to print to an unbuffered output (like stdout)? I've seen > that something like sys.stdout.write("hello") works but it also prints > the number of characters!
Another question (always py3). How can I print only the first number after the comma of a division? e.g. print(8/3) --> 2.66666666667 I just want 2.6 (or 2.66) Thanks, Mattia -- http://mail.python.org/mailman/listinfo/python-list