Hi I am looking to write a formatted string to a string variable :
Say I have 1.067e-01, I need to write 106.700 to some string. In Fortran 95, this would be accomplished with a : character(len=7) :: stringvar real :: stringval ... write(stringvar,'(f7.3)') stringval How does one do something like this in Python ? I need a string formatted in this way for one of my applications. -- http://mail.python.org/mailman/listinfo/python-list