Variables and none?

Ivan Shevanski darkpaladin79 at gmail.com
Fri Jan 20 22:54:32 EST 2006


On 1/20/06, Ivan Shevanski <darkpaladin79 at gmail.com> wrote:
>
> Alright first of all I'd like to say I'm a python noob.
>
> Now that thats over with, heres what I'd like to know about.  Is there a
> python way to detect if a variable exsists?  Say I had a program that needed
> a certain variable to be set to run and the variable was not found when it
> came time to use it. . .Would I just have to catch the error, or could I
> have python look for the variable beforehand?
>
>
>
> Thanks,
>
> -Ivan


Oh, sorry to waste your time I got it =D

--



-Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060120/91d3bace/attachment.html>


More information about the Python-list mailing list