In article <[EMAIL PROTECTED]>,
 David Hirschfield <[EMAIL PROTECTED]> wrote:

>When I attempt to perform a file operation on a non-existent file, I get 
>an OSError: [Errno 2], but what if I want to raise one of those myself?

raise OSError(2, "No such file or directory")
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to