On Jun 4, 1:40 am, tmallen <[EMAIL PROTECTED]> wrote: > What's the proper way to instantiate a new variable? x = ""?
You don't need to. The reason why you need to "declare" variable when doing something like a += 1 is because this is actually a shorthand for a = a + 1 (unless you override __radd__), the a on the right-hand side is not yet assigned to any objects (remember that python use the "name tag" model instead of "variable" model). -- http://mail.python.org/mailman/listinfo/python-list