New variable?

Reedick, Andrew jr9445 at ATT.COM
Tue Jun 3 22:13:51 CEST 2008


> -----Original Message-----
> From: python-list-bounces+jr9445=att.com at python.org [mailto:python-
> list-bounces+jr9445=att.com at python.org] On Behalf Of tmallen
> Sent: Tuesday, June 03, 2008 2:41 PM
> To: python-list at python.org
> Subject: New variable?
> 
> What's the proper way to instantiate a new variable? x = ""?

I've always used
	X = None
in those cases where I need to pre-declare a variable to set scope.


*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623





More information about the Python-list mailing list