Hi,

I never haven't worked with exceptions, and I'm a little confused.

In my programs I always build a function to check things as:

- The user that runned the script is root
- All the files and directories with whom I am going to work exist
- etc

else the program exits.

Does this checks can be runned from an exception?

P.S.: I did read http://www.python.org/doc/current/tut/node10.html
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to