Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Linux Query  (Read 3951 times)

0 Members and 1 Guest are viewing this topic.

Gracey

    Topic Starter


    Newbie

    Linux Query
    « on: March 06, 2009, 05:35:20 AM »
    Hello,
                   I was wondering how i catch various signals in nix python so i can exit my programs gracefully? Please reply my post if you know the answer.

    Thanks

    ghostdog74



      Specialist

      Thanked: 27
      Re: Linux Query
      « Reply #1 on: March 15, 2009, 08:26:19 PM »
      yes, you can use try/except construct. Please check Python documentation for usages.