common practice for creating utility functions?

John Salerno johnjsal at NOSPAMgmail.com
Mon May 15 15:15:00 EDT 2006


John Salerno wrote:
> Just a quickie for today

Another quick one I'll combine in this thread: How can I create two 
separate conditions in a for loop?

Such as this, which doesn't seem to work beyond string.punctuation:

for char in string.punctuation or string.whitespace:



More information about the Python-list mailing list