plsullivan wrote:
> I've got a variable deep inside some quotes needed by the application I
> am using. I can't figure out how to make this work. (Also, is there a
> line continuation character?)
> Thanks in advance,
> Phil
> 
> luser = win32api.GetUserName()
> 
> gp.FeatureclassToCoverage_conversion("'Database
> [EMAIL PROTECTED]'
> POLYGON", prcl83, "", "DOUBLE") % luser

The % operator goes immediately after the string on which it operates:

gp.FeatureclassToCoverage_conversion("'Database
[EMAIL PROTECTED]'
POLYGON" % luser, prcl83, "", "DOUBLE")


-Peter
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to