Where do you store data files?
Kevin Altis
altis at semi-retired.com
Mon Jan 20 20:37:30 EST 2003
"logistix" <logistix at zworg.com> wrote in message
news:bdb5b58f.0301201653.3a9166d4 at posting.google.com...
> I've got a project that generates a simple text-format database and
> will probably generate a few dozen more documents for caching
> purposes. I'm just trying to decide where I should store them. I was
> thinking about just creating a subfolder in the module, which is fine
> for Windows but doesn't seem to be the "appropriate" Unix place to
> store it.
>
> Just wondering what other people were doing.
In PythonCard, I decided to go with os.environ['HOME'] and
os.environ['USERPROFILE'] as a base directory. See my mailing list post:
http://aspn.activestate.com/ASPN/Mail/Message/PythonCard/1496793
ka
More information about the Python-list
mailing list