[Tutor] module re

Marina _ hloughf at hotmail.com
Sat May 1 12:00:03 EDT 2004


Hi,

I need to write a program, that delete white spaces, comments, tabs etc. I 
used module re.compile(text, re.X). The problem is: the result is not a 
string, but an sre object, so I can’t print it. Does anyone knows how can it 
be done? I have python2.3, Suse Linux 9.0

Marina

_________________________________________________________________
Wußten Sie, daß Sie Ihren Hotmail-Posteingang auch über den MSN Messenger 
abrufen können? http://www.msn.de/messenger Jetzt kostenlos downloaden und 
einfach testen!




More information about the Tutor mailing list