[python-win32] Bit of a strange one using py2exe

2011-05-23 Thread Jacob Kruger
Not 100% sure if this is for real, but almost seemed like when I tried out making use of py2exe to build an executable from a python script of mine, it didn't accept the use of a string value of exit in single quotes after it had built the executable, as in, something like the following, that

Re: [python-win32] Bit of a strange one using py2exe

2011-05-23 Thread Tim Golden
On 23/05/2011 09:09, Jacob Kruger wrote: Not 100% sure if this is for real, but almost seemed like when I tried out making use of py2exe to build an executable from a python script of mine, it didn't accept the use of a string value of exit in single quotes after it had built the executable, as

[python-win32] OLE COM in Python

2011-05-23 Thread kycbusiness
Dear sir, I am looking for a sample python script to declare VARIANTs similar to one shown below which is for Perl. Your help will be very much appreciated. Sincerely, Kin Cheung My Perl program is: #!C:\xampp\perl\bin\perl.exe print Content-type: text/html \n\n; #HTTP HEADER #

Re: [python-win32] Bit of a strange one using py2exe

2011-05-23 Thread Greg Ewing
Tim Golden wrote: Backticks are a little-used alternative to the repr () function -- deprecated in Python 3 ISTR. Actually it's been *removed* in Python 3: Python 3.1.2 (r312:79147, Mar 2 2011, 17:43:12) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type help, copyright, credits or license