Any idea how i can format my output file with ********************Start file*********************** usinf Python 2.7
Peter Otten
__peter__ at web.de
Sat Feb 9 10:01:13 EST 2013
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 **************
More information about the Python-list
mailing list