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]'
POLYGON", prcl83, "", "DOUBLE") % luser

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


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 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.python.org/mailman/listinfo/python-list


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


no win32com.client

2005-05-23 Thread plsullivan
In 2.4.1 the following is generated from a script that ran in 2.2:

import sys, string, os, win32com.client
ImportError: No module named win32com.client

thanks for any input,
Phil

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