My Python application includes some data files that need to be accessed by
modules I distribute with it.
Where can I put them, and how should I arrange my code, so that it works
across platforms?
On Linux, I could install the data to "/usr/lib/myprogram/datafile", and
on Windows to "datafile" rel
Larry Bates wrote:
> Tom E H wrote:
>> My Python application includes some data files that need to be accessed
>> by modules I distribute with it.
>>
>> Where can I put them, and how should I arrange my code, so that it works
>> across platforms?
>>
> I a
Larry Bates wrote:
>> Well that's great, but how do you access the ini file portably?
>
> From my original post:
>
> Then I use ConfigParser in my application...
Thanks, but where in the directory structure do you put the ini file on
different platforms? Presumably you have to hard-code that in