[python-win32] Problem with compiled .pyd file

2008-08-16 Thread Frank Peacock
Hello I am using Python 2.5.2 on Windows and cygwin to build a python extension. I have built the pygrib2 package using cygwin on Windows and I am experiencing a hanging on the import of the g2lib.pyd module. I have tried using cygwin's jasper library as well as self-built files of the

[python-win32] VBScript compilation error - expected end of statement

2005-11-07 Thread Frank Peacock
Hello I am running a python script which calls an ESRI ArcGIS COM function called calculatefield. If the text variable I pass to this function is longer than 10 characters I get the following error: "Microsoft VBScript compilation error - expected end of statement". I do not know what I need to do

[python-win32] Apologies - Spawn problem

2006-01-31 Thread Frank Peacock
Hello again I need to correct the previous email. The correct main.py file is attached now. The interesting thing is that the naming of the python file does not change the result. The result always is output to the screen: "Main" and then "Exit", there is no "subprocess" outputted. # Main script

[python-win32] Spawnv problem

2006-01-31 Thread Frank Peacock
Hello   I cannot seem to spawn a subprocess. The subprocess does not seem to be run.   Attached are my two files. There is a main.py file and a subprocess.py file. They simpy print their names.   Can anyone suggest a reason?   Thank you Frank Peacock print("subprocess") # Main scr