Morten Engvoldsen wrote: > I know i can append "***************Start file***********" in the > batchdata, but is there a better python code like multiply * into 10 times > -- any python code i can add the formatting in dynamic way instead of > hardcoding with "***************Start file***********" line.
>>> print " Start file ".center(40, "*") ************** Start file ************** -- http://mail.python.org/mailman/listinfo/python-list