Roger Upole rwup...@msn.com wrote:
Bill Janssen wrote:
Is there anyway to tell, from inside Python, where the python26.dll file
is? I've got to install the win32 dlls in the same directory.
I see that sys contains a symbol dllhandle, but that's just a
numeric handle.
Bill
Bill Janssen schrieb:
Roger Upole rwup...@msn.com wrote:
Bill Janssen wrote:
Is there anyway to tell, from inside Python, where the python26.dll file
is? I've got to install the win32 dlls in the same directory.
I see that sys contains a symbol dllhandle, but that's just a
numeric
Thomas Heller thel...@ctypes.org wrote:
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)]
on win32
Type help, copyright, credits or license for more information.
from ctypes import *
buf = create_string_buffer(256)
windll.kernel32.GetModuleFileNameA
_FuncPtr
Is there anyway to tell, from inside Python, where the python26.dll file
is? I've got to install the win32 dlls in the same directory.
I see that sys contains a symbol dllhandle, but that's just a numeric handle.
Bill
___
python-win32 mailing list
Bill Janssen wrote:
Is there anyway to tell, from inside Python, where the python26.dll file
is? I've got to install the win32 dlls in the same directory.
I see that sys contains a symbol dllhandle, but that's just a numeric
handle.
Bill
win32api.GetModuleFileName(sys.dllhandle)