How to retrieve the filename of a module

2005-10-20 Thread mku
Hi,

there“s a function inside a module. How can these function retrieve
the path+name   of his module ? (The path is most important).
That should also work if the module is part of a package.

Thanks in advance

Martin

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Accessing a dll from Python

2005-10-20 Thread mku
I used ctypes. It works really fine with DLLs.
have a lool at http://starship.python.net/crew/theller/ctypes
Martin

-- 
http://mail.python.org/mailman/listinfo/python-list