On 7/5/05, Andrew Durdin <adurdin at gmail.com> wrote: > print """Usage: dostuff <options> > > Options: > -c - blah blah > -f <filename> - do stuff with file "filename" > -s - more blah""" Isn't the standard idiom for this already: import textwrap ... print textwrap.dedent("""\ Usage: dostuff <options> Options: -c - blah blah -f <filename> - do stuff with file "filename" -s - more blah""") STeVe -- You can wordify anything if you just verb it. --- Bucky Katt, Get Fuzzy
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4