... pyfile ctypes.py ...
Hi Tony. Thanks for the reply, but ctypes is actually a binary module (dll file) which needs to be installed into the python module path directly - unless I miss my guess, pyfile will source a python script but will not load a dll module. I replied to Aaron yesterday thanking him and saying that the solution he gave sorted me out perfectly - I didn't realize that reply-to was set to the poster and not the list, so here's essentially what I said to him directly: I was expecting vim to either use the latest version of python installed (in my case 2.5) or to have its own set of python library paths. Inspecting the sys.path variable (like I should have first thing) showed that vim was actually using the 2.4 python installation, which did not have ctypes installed. I have now installed the necessary modules in the version of python vim is actually using, and I have no problems whatsoever. Cheers. Tom.
