newbie - variable "buried in quotes"

Bernd Nawothnig Bernd.Nawothnig at t-online.de
Mon May 16 13:08:15 EDT 2005


On 2005-05-16, plsullivan wrote:
> Thanks guys but I am still not getting it. This part -->
> gp.FeatureclassToCoverage_conv­ersion("'Database
> Connections\\%s at GIS_srv-earth.­sde\\GIS.GIS.Cadastral\\GIS.GI­S.Parcels'
> POLYGON", prcl83, "", "DOUBLE") <--   % luser     is one long command.

Yes, I understood you perfectly well.

> I need to be able to insert the luser variable deep in the middle of
> that.

luser will replace the '%s' in my version. Just try it!



Bernd

-- 
Those who desire to give up freedom in order to gain security,
will not have, nor do they deserve, either one. [T. Jefferson]



More information about the Python-list mailing list