Text conversion in python

From: Anthony Valentine <amv@akvalentine.com>
Date: Thu Mar 24 2005 - 16:19:54 AKST

Hello everyone!

I am very new to python and cannot seem to figure out how to perform a
simple text substitution.

I want to remove all single quotes from a line of text.

In perl, I would use:
    $var =~ s/'//g;

Does anyone know how to do this in python?

Thanks in advance!

Anthony Valentine

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Mar 24 16:20:12 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 24 2005 - 16:20:12 AKST