This is not typically python 2.1 but this should work (does the job for me). from Products.PythonScripts.standard import url_quote ... print url_quote('http://www.mysite.net/with some space') return printed HTH --Gilles ----- Original Message ----- From: "tamilg" <tamilg@mindscapecomputing.com> To: <zope@zope.org> Sent: Wednesday, January 02, 2002 12:06 PM Subject: [Zope] Re: problem-urgent hi, i am tamil maran.g and am new to zope and i am facing problem in using url quote in python. pls let me tell how to use URL QUOTE IN PYTHON 2.1 thanks and regards, tamil maran.g _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )