[KLUG Members] Re: Dynamic HTML/HTTP question

Matty members@kalamazoolinux.org
08 Dec 2002 10:59:35 -0500


On Thu, 2002-12-05 at 11:02, Adam Tauno Williams wrote:
> >>One solution is python:
> >>>>>import urllib
> >>>>>arams = urllib.urlencode({'spam': 1, 'eggs': 2, 'bacon': 0})
> >>>>> = urllib.urlopen("http://www.musi-cal.com/cgi-bin/query", params)
> >>>>>rint f.read()
> >This is about the right level of abstraction. I don't know much python;
> >that can change quickly. 
> >Does this handle the difference bewteen GET vs. POST ?
> >In general, I would expect a GET should look like...
> >http://www.musi-cal.com/cgi-bin/query?spam=1&eggs=2&bacon=0
> 
> How about a presentation on python?  I'm certainly interested,  but what I know
> about it would fit between two solar core hyrogen atoms.  Rumor has it that it
> has about the coolest XML munching & crunching capabilities around.

I still find the perl XML::Parser module as straight forward as it
comes. One of my friends thought perl offered a cleaner presentation.

> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
> 
-- 
Ryan Matteson - UNIX Administrator
GPG ID: 1B52A210 2002-12-01 Ryan Matteson (Primary Key Pair)
<matty91@bellsouth.net>
Public Key: http://www.daemons.net/~matty/public.asc
Detached Digital Signature: http://www.daemons.net/~matty/public.sig.asc
Fingerprint = A0B1 298E 29C4 3F26 01D5  EDFC 3D62 281F 1B52 A210