wong2 wong2 - 2 months ago 24
Python Question

How to list all dlls loaded by a process with Python?

I want to list all the dlls loaded by a process, like this:

enter image description here

How could I get the information with Python on Windows?

Answer

Using listdlls:

import os
os.system('listdlls PID_OR_PROCESS_NAME_HERE')