python: where to put application data that can be edited by computer users

Posted by Jason S on Stack Overflow See other posts from Stack Overflow or by Jason S
Published on 2010-05-17T20:39:15Z Indexed on 2010/05/17 20:40 UTC
Read the original article Hit count: 179

I'm working on a really simple python package for our internal use, and want to package it as a .egg file, and when it's installed/used I want it to access a text file that is placed in an appropriate place on the computer.

So where is the best place to put application data in python? (that is meant to be edited by users) How do I get my python package to automatically install a default file there?

© Stack Overflow or respective owner

Related posts about python

Related posts about installation