Defining constant strings

Hans NoSpam at Hccnet.nl
Sun Aug 27 11:39:38 EDT 2006


Hi,

I want to define a couple of constant strings, like in C:
#define mystring "This is my string"
or using a const char construction.

Is this really not possible in Python?

Hans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060827/d66899a9/attachment.html>


More information about the Python-list mailing list