Re: [python-win32] Creating standalone executable

2015-01-06 Thread J.D. Main
I've had good success with PyInstaller. https://github.com/pyinstaller/pyinstaller/wiki I like it better than Py2Exe - it seems to "just work" without a lot of fiddling. JDM On 1/6/2015 9:59 AM, John Sampson wrote: I tried py2exe but the executable file has to be in a specific folder along

[python-win32] Repost: Classic ASP in IIS with Python - 500 Server Error

2011-03-06 Thread J.D. Main
(repost of previous message apparently HTML'd by my mailer...sorry) Hello, I have been hunting for a solution to this one for some time.  I've already tried all the easy stuff.  I have IIS 5 on a WinXP Pro machine. I recently posted this to the Python WEB sig - apparently not many windows

[python-win32] Classic ASP in IIS with Python - 500 Server Error

2011-03-05 Thread J.D. Main
Hello, I have been hunting for a solution to this one for some time.  I've already tried all the easy stuff.  I have IIS 5 on a WinXP Pro machine. I recently posted this to the Python WEB sig - apparently not many windows users on that list. I can run python scripts as CGI but not as ASP. 

Re: [python-win32] Problem with Pyserial

2010-06-14 Thread J.D. Main
Hello, Question: How do you know that ser.write("hello\n") isn't outputing the string "hello"? Did you plug another computer into that COM port to check? I have learned to never take any serial port stuff for granted. I usually plug another computer into the serial port to make absolutely s

Re: [python-win32] Trying to send info through serial port

2010-06-11 Thread J.D. Main
Hi, I have found that the serial port doesn't get opened sometimes. Here's what I do: import serial ser = serial.Serial() ser.port = 0 ser.baudrate = 9600 ser.timeout = 1 ser.open() You can see if the port is open by printing the serial object. In your code you'll use: print ser one of the

Re: [python-win32] Python COM Server and VB6 Integration

2009-07-19 Thread J.D. Main
Thanks guys. I guess my next obvious question is: What would it take to create a python COM server with a Type Library such that VB6 or VS2003 would be happy with it? If I register my simple COM server, run makepy and select: "Microsoft Sisual Studio .NET VB and C# Project Model" Will that

[python-win32] Python COM Server and VB6 Integration

2009-07-18 Thread J.D. Main
Hi Folks, Hopefully this is the place to ask this question. I have written a COM server with a few trivial string methods to test the integration of Python and VB6 (and Visual Studio). I have "compiled" it with py2exe and created a DLL that can actually register with Windows. Nice. I have su