Retrieve ext. variables in python program
alfa1234
heliflyer at hotmail.com
Wed Jul 19 03:59:18 EDT 2006
Trying to convert TCL code to python.
Have a property file from where I read some VAR's. Looks like this:
EARPROJECT = sgs-procDist
APPNAME = SGSProcedure
In my TCL code I confirm the existence of the VAR = f.ex EARPROJECT by
using code:
if { ([info exists APPNAME] && [info exists STAGEDIR] && [info exists
EARPROJECT] && [info exists EARDESTINATION]) } {
Does anyone know and equalent way to confirm a Variable from the same
property file using PYTHON code ???
More information about the Python-list
mailing list