[Zope] URL encoding in a python script?

Etienne Labuschagne ELabuschagne@gims.com
Tue, 19 Mar 2002 13:55:38 +0200


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1CF3C.FC55E6C0
Content-Type: text/plain;
	charset="iso-8859-1"

Is there an equivalent to urllib.urlencode for Python scripts?

I tried to import urllib and then use the above, but no luck.  Am I missing
something obvious?

Thanks
Etienne

------_=_NextPart_001_01C1CF3C.FC55E6C0
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>URL encoding in a python script?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">Is there an equivalent to urllib.urlencode for Python scripts?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I tried to import urllib and then use the above, but no luck.&nbsp; Am I missing something obvious?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks</FONT>
<BR><FONT SIZE=2 FACE="Arial">Etienne</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1CF3C.FC55E6C0--