work with process

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • luke14free
    New Member
    • Apr 2007
    • 79

    #1

    work with process

    hi to all!...
    i am writing an app for my pocket pc in python in order to close system preocess that i dont use and free up program memory i am doing that because the programs that are on the web doenst allow me to close sys hide process
    i should have all the module import of python 2.5 win32 and the engine of python is 2.5...
    is there anyone who could tell me how to see and close system process?
    thanks a lot
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    For advanced work on Windows, such as this, I've come to rely on the ctypes module (which has been added to the standard library in 2.5). With ctypes, you can call any available system resource that other languages have access to by creating function prototypes (not often needed) and classes that look like C structures. If you need a link to msdn for ms docs, I can provide that.

    Comment

    • luke14free
      New Member
      • Apr 2007
      • 79

      #3
      honestly, i would noy know where to start but yes thanks try giving me some links for the task/process handling killing closing or something else...
      and maybe if you could a short explaination dealing how to use the module that you mentioned would be usefull
      thanks a lot

      Comment

      • bartonc
        Recognized Expert Expert
        • Sep 2006
        • 6478

        #4
        Originally posted by luke14free
        honestly, i would noy know where to start but yes thanks try giving me some links for the task/process handling killing closing or something else...
        and maybe if you could a short explaination dealing how to use the module that you mentioned would be usefull
        thanks a lot
        ctypes documentation

        Comment

        Working...