W3C home > Mailing lists > Public > www-rdf-interest@w3.org > April 2002

Re: Queries and report generation in RDF/N3

From: Thomas B. Passin <tpassin@comcast.net>
Date: Mon, 29 Apr 2002 08:44:59 -0400
To: RDF Interest group <www-rdf-interest@w3.org>
Message-id: <000401c1ef7b$ac6e2500$0bf13044@tbp>
[Graham Klyne]

> I've also started porting this code to Jython (with a view to front-ending
> a Jena RDB Model).  The N3 parser works OK, but I'm having some troubles
> with some of the file support routines -- os.access() not supported.  Are
> there any other easy ways you'd recommend, using Python to (a) check that
a
> file exists and is readable, and (b) that a directory exists and is
writeable?
>

access() is listed as unix only for C-Python, but os.stat() should be
available.  Also, os.path.isfile() and os.path.isdir() ought to be present,
though they wouldn't test for writability.

Cheers,

Tom P
Received on Monday, 29 April 2002 08:39:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:53 GMT