Re: newbie - variable "buried in quotes"

2005-05-16 Thread plsullivan
Ok, I see how concatenation is called for here. I'll try to use the tutorial to figure that one out. Look out I'll probably be back! Thanks for the help. Phil -- http://mail.python.org/mailman/listinfo/python-list

Re: newbie - variable "buried in quotes"

2005-05-16 Thread Bernd Nawothnig
On 2005-05-16, plsullivan wrote: > Thanks guys but I am still not getting it. This part --> > gp.FeatureclassToCoverage_convĀ­ersion("'Database > [EMAIL PROTECTED]' > POLYGON", prcl83, "", "DOUBLE") <-- % luser is one long command. Yes, I understood you perfectly well. > I need to be able to

Re: newbie - variable "buried in quotes"

2005-05-16 Thread Bernd Nawothnig
On 2005-05-16, plsullivan wrote: > If I follow your response Bernd, it looks like you interpreted that as > several lines. It actually should all be on one line. That's what made > me wonder if there is a line continuation character. The lines are concatenated to one string as I wrote it. See al

Re: newbie - variable "buried in quotes"

2005-05-16 Thread plsullivan
Thanks guys but I am still not getting it. This part --> gp.FeatureclassToCoverage_convĀ­ersion("'Database [EMAIL PROTECTED]' POLYGON", prcl83, "", "DOUBLE") <-- % luser is one long command. I need to be able to insert the luser variable deep in the middle of that. Phil -- http://mail.pytho

Re: newbie - variable "buried in quotes"

2005-05-16 Thread Peter Hansen
Peter Hansen wrote: > The % operator goes immediately after the string on which it operates: > > gp.FeatureclassToCoverage_conversion("'Database > [EMAIL PROTECTED]' > POLYGON" % luser, prcl83, "", "DOUBLE") Missed your buried question about line continuations. Yes, there is one, and it's the c

Re: newbie - variable "buried in quotes"

2005-05-16 Thread Peter Hansen
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_conversi

Re: newbie - variable "buried in quotes"

2005-05-16 Thread plsullivan
If I follow your response Bernd, it looks like you interpreted that as several lines. It actually should all be on one line. That's what made me wonder if there is a line continuation character. Phil -- http://mail.python.org/mailman/listinfo/python-list

Re: newbie - variable "buried in quotes"

2005-05-16 Thread Bernd Nawothnig
On 2005-05-16, 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?) > luser = win32api.GetUserName() > gp.FeatureclassToCoverage_conversion("'Database > [

newbie - variable "buried in quotes"

2005-05-16 Thread plsullivan
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]' POL