Module depends tool

Gisle Vanem giva at users.sourceforge.net
Thu Jan 8 17:35:21 CET 2004


Is there a tool to show which dynamic modules (*.pyd/*.dll) a 
script depends on w/o running it? And the path(s) where python would
have loaded it from. Something like Cygwin's cygcheck does for 
PE modules.

G:\Programfiler\Python.23\Lib\site-packages>cygcheck pcapy.pyd
Found: .\pcapy.pyd
pcapy.pyd
  g:\Mingw32\bin\wpcap.dll
    f:\windows\System32\ADVAPI32.DLL
      f:\windows\System32\ntdll.dll
      f:\windows\System32\KERNEL32.dll
      f:\windows\System32\RPCRT4.dll
    f:\windows\System32\msvcrt.dll
    f:\windows\System32\USER32.dll
      f:\windows\System32\GDI32.dll
    f:\windows\System32\WS2_32.DLL
      f:\windows\System32\WS2HELP.dll
  f:\windows\System32\python23.dll
    f:\windows\System32\SHELL32.dll
      f:\windows\System32\SHLWAPI.dll

-- 
Gisle V.

# rm /bin/laden 
/bin/laden: Not found 



More information about the Python-list mailing list