Retrieve ext. variables in python program
alfa1234
heliflyer at hotmail.com
Wed Jul 19 09:34:08 EDT 2006
bearophileHUGS at lycos.com skrev:
> alfa1234:
> > Does anyone know and equalent way to confirm a Variable from the same
> > property file using PYTHON code ???
>
> Using globals(), locals(), and dir() you can find if your name exists
> already.
>
> Bye,
> bearophile
Hi bearophile !!
Thanks for the answer..Tried to use these methods, but with no luck.
What needed is a way for my code to look at the external property file
with the lines:
>>earProject = sgs-procDist
>>Appname = SGSProcedure
and accept "earProject" and "Appname" as a Variable if they exist...
Can Y help here..??
Rgds alfa1234
More information about the Python-list
mailing list