newbie - insert variable in pathname

plsullivan63 at gmail.com plsullivan63 at gmail.com
Fri May 13 11:15:44 EDT 2005


Hello all,
I have a username variable luser:

luser = win32api.GetUserName

I need to insert it into the following to replace the hardcoded
"johndoe" in the pathname of GIS.GIS.Parcels:

GIS_GIS_Parcels = "Database
Connections\\johndoe at GIS_srv-earth.sde\\GIS.GIS.Cadastral\\GIS.GIS.Parcels"
 
Thanks in advance,
plsullivan




More information about the Python-list mailing list