User Profile

Collapse

Profile Sidebar

Collapse
arunhero99
arunhero99
Last Activity: Jun 13 '07, 10:42 AM
Joined: Apr 10 '07
Location: India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • arunhero99
    replied to What is your OS and Python Version
    I use XP Pro at home and Redhat Linux in office.Using Python 2.3 and 2.5.
    I use IDLE to edit and cmd line to test. I use Textpad to write code from scratch.
    See more | Go to post

    Leave a comment:


  • arunhero99
    replied to Process id error
    Thanks for the reply...
    i am actually using try and a generic except to implement this.
    I just wanted to know if there is any other function in python which doesnt touch win32api to find process id.

    thanks again.
    Cheers...
    See more | Go to post

    Leave a comment:


  • arunhero99
    started a topic Process id error

    Process id error

    Hi Guys,

    Given below is the function i have defined to find process id of the running process xyz.exe. But when i try to run this function when the process xyz.exe is not running, obviously "pid = p[0].Properties_('P rocessId').Valu e" shows error as the process doesn't exist.
    but i want it to return pid="" ,to use that value to check if the process is running or not.I am now managing with a try block to catch...
    See more | Go to post
    Last edited by bartonc; Jun 1 '07, 06:50 AM. Reason: added [code][/code] tags
No activity results to display
Show More
Working...