Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #197491
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | ram@zedat.fu-berlin.de (Stefan Ram) |
| Newsgroups | comp.lang.python |
| Subject | Re: Best practice for config files? |
| Date | 22 May 2025 20:33:12 GMT |
| Organization | Stefan Ram |
| Lines | 14 |
| Expires | 1 Jun 2026 11:59:58 GMT |
| Message-ID | <path-20250522213301@ram.dialup.fu-berlin.de> (permalink) |
| References | <100nvn0$3kq1t$1@dont-email.me> <config-20250522212305@ram.dialup.fu-berlin.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.uni-berlin.de BgT3Ev+4YYRJhn94UDY6TQJGmI5jBLudlsUjTgCEDgQXze |
| Cancel-Lock | sha1:S9iRDYsvb6b/WuLzMLKarNIFSC8= sha256:vDRFmsDEeiKW4s3rEMd2dseBI4pPEEaX064FYJUdDck= |
| X-Copyright | (C) Copyright 2025 Stefan Ram. All rights reserved. Distribution through any means other than regular usenet channels is forbidden. It is forbidden to publish this article in the Web, to change URIs of this article into links, and to transfer the body without this notice, but quotations of parts in other Usenet posts are allowed. |
| X-No-Archive | Yes |
| Archive | no |
| X-No-Archive-Readme | "X-No-Archive" is set, because this prevents some services to mirror the article in the web. But the article may be kept on a Usenet archive server with only NNTP access. |
| X-No-Html | yes |
| Content-Language | en-US |
| Xref | csiph.com comp.lang.python:197491 |
Show key headers only | View raw
ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted: >On Linux: >~/.config/YourAppName But don't just build this path manually as the proper code for Linux should follow the XDG convention. I hope that the library does this correctly! What I actually found on my harddisk was a "platformdirs" package from "setuptools", which seems to know about XDG. (I not sure whether the separated "platformdirs" from PyPI is the same.)
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Best practice for config files? "Michael F. Stemper" <michael.stemper@gmail.com> - 2025-05-22 14:59 -0500
Re: Best practice for config files? ram@zedat.fu-berlin.de (Stefan Ram) - 2025-05-22 20:27 +0000
Re: Best practice for config files? ram@zedat.fu-berlin.de (Stefan Ram) - 2025-05-22 20:33 +0000
Re: Best practice for config files? ram@zedat.fu-berlin.de (Stefan Ram) - 2025-05-23 19:18 +0000
Re: Best practice for config files? (Posting On Python-List Prohibited) Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-23 22:22 +0000
Re: Best practice for config files? (Posting On Python-List Prohibited) rbowman <bowman@montana.com> - 2025-05-24 03:00 +0000
Re: Best practice for config files? "Michael F. Stemper" <michael.stemper@gmail.com> - 2025-05-24 10:05 -0500
Re: Best practice for config files? Paul Rubin <no.email@nospam.invalid> - 2025-05-22 17:37 -0700
Re: Best practice for config files? (Posting On Python-List Prohibited) Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-05-23 01:20 +0000
Re: Best practice for config files? Chuck Rhode <CRhode@LacusVeris.com> - 2025-05-23 08:35 -0500
Re: Best practice for config files? Jason H <jason_hindle@yahoo.com> - 2025-05-24 11:46 +0000
csiph-web