Difference between revisions of "Code/Python"

From LunaSys
Jump to navigation Jump to search
 
Line 1: Line 1:
 
== Same line print ==
 
== Same line print ==
  
  ((float(k)/float(lines_count))*100, k, lines_count)
+
  sys.stdout.write("\r%d" % i)
 +
sys.stdout.flush()
  
 
== General ==
 
== General ==

Latest revision as of 11:49, 12 July 2013