print "%s"
Beema Shafreen
beema.shafreen at gmail.com
Mon Aug 18 02:28:46 EDT 2008
Hi ALL,
In my script i have to print a series of string , so
print "%s\t%s\t%s\t%s\t%s\t%s\t" %("a","v","t","R","s","f")
I need to know instead of typing so many %s can i write %6s in python, as
we do in C progm.
What are the other options .
--
Beema Shafreen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080818/9e668fe8/attachment.html>
More information about the Python-list
mailing list