[Zope] Convertion to named character entities

2008-10-26 Thread Jakob Schou Jensen
Is there any way to convert special characters in a string to named
character entities? The string is obtained from a form field.

Thanks,

Jakob
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Convertion to named character entities

2008-10-26 Thread Andreas Jung

On 26.10.2008 15:10 Uhr, Jakob Schou Jensen wrote:

Is there any way to convert special characters in a string to named
character entities? The string is obtained from a form field.




Look at the htmlentitydefs module of Python.

-aj
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[EMAIL PROTECTED]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Iowa Python User's Group Meeting (November 3rd)

2008-10-26 Thread Mike Driscoll
Hi,

The next Iowa Python Users Group (AKA Pyowa) is nearly upon us. We will be 
meeting November 3rd, from 7-9 p.m. at the following location:

Marshall County Sheriff's Office
2369 Jessup Ave
Marshalltown, IA 50158

At this meeting, we will be having a Crash Course of sorts for all the new 
programmers in our group. As anyone who has ever taken a programming course 
know, it is impossible to teach everything in two hours, so we'll be focusing 
on tools that will allow our group to help themselves. In other words, we'll be 
focusing on source code analysis techniques like introspection and how to use 
IDLE effectively. There will also be a presentation on basic GUI design and 
also Django.

We will have 8 laptops there to use for any new people, pre-loaded with Python 
2.5.2 and any additional packages we need for our presentations. You are 
welcome to bring your own laptop if you want. Be sure to have 2.5 on yours as 
well as wxPython and the PyWin32 package (if you use Windows). We will have 
them on USB flash drives should you forget.

Free pop and bottled water will be provided.  Questions and comments can be 
directed to mike [at] pythonlibrary [dot] org. Updates can be found at 
http://www.ipug.pythonlibrary.org


---
Mike Driscoll

Blog:   http://blog.pythonlibrary.org
Python Extension Building Network: http://www.pythonlibrary.org


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )