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
> file exists and is readable, and (b) that a directory exists and is

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.


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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:40 UTC