On 11/10/2010 11:19 PM, Emile van Sebille wrote:
On 11/10/2010 5:12 AM lnenov said...
Hi,

I need to enumerate a couple hundred strings to constants and export
them to another module(s) globals.

Do they really need to be globals? Why not a constants in an object/container that would neither pollute the global namespace nor risk being shadowed by subsequent inadvertent name conflict?

It is ment for testing purposes and would be used mainly in interactive mode. This would save some typing : )

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

Reply via email to