Base Directory Spec Queries
Thomas Leonard
tal00r at ecs.soton.ac.uk
Wed Aug 6 14:39:04 EEST 2003
On Tue, Aug 05, 2003 at 04:16:19PM +0200, Heinrich Wendel wrote:
> So what should this reference implementation do? I coded something in
> python to get the vars and it's only about 40 lines of code. (
> http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/gentoo-menu/xdg/BaseDirectory.py?rev=HEAD&cvsroot=gentoo-src&content-type=text/x-python)
There's a more complete module here (eg, copes with creating directories
too):
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/rox/ROX-Lib2/python/rox/basedir.py?rev=HEAD&content-type=text/x-python
--
Thomas Leonard http://rox.sourceforge.net
tal00r at ecs.soton.ac.uk tal197 at users.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1
More information about the xdg
mailing list