Leeds, Mark wrote:
I have a string variable say “8023     “ and

I want to get rid of the beginning

And ending quotes.



I’ve tried different things

But haven’t had any success.



I’m definitely a python hacker and

Not an expert. Thanks.

 >>> x = '"This is a quoted string"'
 >>> print x
"This is a quoted string"
 >>> print x[1:-1]
This is a quoted string
 >>>

regards
 Steve

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to