This function does not exist. However, the following example helps:
In [15]: import os In [16]: os.path.isfile( "/online_dir/TkIrc.pl") and os.access( "/online_dir/TkIrc.pl", os.X_OK) Out[16]: True