RE: win32 process information, using win32 extension

Discussion in 'Python' started by Tim Golden, Oct 21, 2005.

  1. Tim Golden

    Tim Golden Guest

    [Java and Swing]

    > i need to get information about the processes
    > running on a windows pc (98, 2k, xp)


    > i can get the pid's using, win32process.EnumProcesses()
    > but how can i get the name of the process, path
    > to process, etc.


    You can probably do what you want with WMI. You'll have to
    make sure to install Microsoft's WMI pack (or whatever it's
    called) on the Win98 machines:

    http://timgolden.me.uk/python/wmi_cookbook.html#running_processes

    TJG

    ________________________________________________________________________
    This e-mail has been scanned for all viruses by Star. The
    service is powered by MessageLabs. For more information on a proactive
    anti-virus service working around the clock, around the globe, visit:
    http://www.star.net.uk
    ________________________________________________________________________
    Tim Golden, Oct 21, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. rtm
    Replies:
    0
    Views:
    790
  2. Anand
    Replies:
    3
    Views:
    878
    Tim Daneliuk
    Nov 8, 2003
  3. Java and Swing
    Replies:
    1
    Views:
    664
    Chris Lambacher
    Oct 24, 2005
  4. Dirc
    Replies:
    1
    Views:
    374
  5. Qi Lu
    Replies:
    0
    Views:
    393
    Qi Lu
    Jul 14, 2008
Loading...

Share This Page