Simple Text Processing

Tim Roberts timr at
Sat Sep 12 06:52:36 CEST 2009

AJAskey <askeyaj at> wrote:
>Never mind.  I guess I had been trying to make it more difficult than
>it is.  As a note, I can work on something for 10 hours and not figure
>it out.  But the second I post to a group, then I immediately figure
>it out myself. Strange snake this Python...

Come sit on the couch for a moment.  It's not that Python is strange, but
that you are a stranger to Python.  This same kind of curve happens anytime
you go from a familiar language to an unfamiliar language

Basically, when you're good with Perl, you start to think of every task in
terms of regular expression matches.  When you're good with Python, you
start to think of every task in terms of lists and tuples.

Stick with it, and you'll start thinking Pythonically in no time.
Tim Roberts, timr at
Providenza & Boekelheide, Inc.

More information about the Python-list mailing list