RE: Distributing Python COM objects

2001-05-11 Thread Mark Hammond
Freeze should work with COM objects. Check out the "-s com_dll" option. Mark. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Francesco Franzh > Sent: Saturday, 12 May 2001 2:04 AM > To: [EMAIL PROTECTED] > Subject: Distributing Python COM objec

RE: Raw string error

2001-05-11 Thread Brian Quinlan
Tiny correction: a raw string can end in '\' but it cannot end in an odd number of '\'s i.e. if there is a '\' at the end of a raw string, it must be escaped. > I think this aspect of raw strings is a bit ugle but it is > not a bug... > > The last character in a raw string cannot be a '\' because

RE: Raw string error

2001-05-11 Thread Brian Quinlan
I think this aspect of raw strings is a bit ugle but it is not a bug... The last character in a raw string cannot be a '\' because '\' is still used to escape quotes, just like in regular strings. Unlike regular strings, however, backslashes used to escape quotes remain in the string. -Orig

Raw string error

2001-05-11 Thread Stanislav Fink
Is this a bug in Python, or my misunderstanding of row string >>> c = r'c:\'Traceback (  File "", line 1    c = r'c:\' ^SyntaxError: invalid token

Re: MS object model

2001-05-11 Thread Joannes CEYRAT
hello to all, a time ago I was stopped by this: "I was accessing word and excel with python (win32com) and when I was running it with the command line It worked good but in an .asp or .py file, IIS had not the right to acces word or excel. I've phone microsoft (expensive !) and the solution i

Re: Distributing Python COM objects

2001-05-11 Thread Thomas Heller
[Posted and mailed] > I tried to write a python com object, it's really > easy and it works, now i'm wondering if it is possible > to distribute it without the whole installation of python > and the com extensions. > For exe i found the freeze tool which works fine, > for a com object i tried bu

Distributing Python COM objects

2001-05-11 Thread Francesco Franzè
I tried to write a python com object, it's really easy and it works, now i'm wondering if it is possible to distribute it without the whole installation of python and the com extensions. For exe i found the freeze tool which works fine, for a com object i tried but it does not work in fact i thin