object oriënted

skip at pobox.com skip at pobox.com
Wed Dec 24 11:02:47 EST 2008


    Dennis> I know that python is an Object Oriënted language but I was
    Dennis> wondering if it gets used as a non-OOP also (by a good amount of
    Dennis> people).

Oh yeah.  Works great for writing quick-n-dirty Unix filters which are a bit
more complex than can comfortably be wrangled with Bash, but not so complex
that you need more organization (such as classes).  A function looping over
sys.stdin.  Make a few transformations and away you go.

-- 
Skip Montanaro - skip at pobox.com - http://smontanaro.dyndns.org/



More information about the Python-list mailing list