View Single Post
  #1  
Old 10-22-2009, 06:24 PM
Python Python is offline
Senior Member
 
Join Date: Jun 2009
Posts: 4,684
Default Code Snippet string formatting specifications

The syntax of the str.format() method described in the python 2.6 documentation (http://docs.python.org/library/strin...#formatstrings) looks both powerful and complex. The idea of this thread is to start a collection of nice formatting examples which will ease the task of mastering this...
__________________
Python
Domain Name Forum
Reply With Quote