"questions?" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 

> Are there any sprintf in Python?
> I know you can print to files(or redefine sys.stout) and later
> open the file content.
> 
> Are there similar function to sprintf in C?

Something like this?

x = 9
vbl = "One digit: %d, four digits: %04d" % (x,x)
print vbl
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to