On Wednesday 14 April 2004 15:39, Jose' Matos wrote:
>
>   One small inconvinience that I still don't know how to overcome, I
> will test if the program exists in the path not if it is executable.
> I will try to search a generic way to test this...

  From the manual pages I guess this should work:
if os.access(full_path, os.X_OK):

  Attached goes the resulting file.
-- 
José Abílio

LyX and docbook, a perfect match. :-)

Attachment: path-test.py
Description: application/python

Reply via email to