> Are there any sprintf in Python?

Refer module StringIO - just like file input/output operations.
cStringIO is another module  (faster)

Quick intro:
from StringIO import StringIO
s = StringIO()
s.write('hello')
s.seek(0)
print s.read() 

-N

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to