What's the perfect (OS independent) way of storing filepaths ?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Fri Oct 24 19:44:58 CEST 2008

In message <010fefe5$0$20657$c3e8da3 at news.astraweb.com>, Steven D'Aprano

> Putting preferences files in the user's top level directory is horribly
> inconvenient for the user.

There is a way around this: redefine the HOME environment variable to be the
directory where you want the dotfiles to end up.

More information about the Python-list mailing list