Message247765
| Author |
eryksun |
| Recipients |
eryksun, jan parowka |
| Date |
2015年07月31日.19:26:53 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1438370813.49.0.243099131192.issue24765@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
On Windows, using the shell's [Known Folders API][1] is preferred. For Python 3.6+, an extension module could wrap SHGetKnownFolderPath and provide a dict of KNOWNFOLDERID values such as FOLDERID_RoamingAppData.
On Linux, there's the [XDG Base Directory Specification][2]. The application directory is created in one or more of the following directories {default in brackets}: $XDG_CONFIG_HOME {~/.config}, $XDG_DATA_HOME {~/.local/share}, and $XDG_CACHE_HOME {~/.cache}.
What about Mac OS X?
[1]: https://msdn.microsoft.com/en-us/library/bb776911
[2]: http://standards.freedesktop.org/basedir-spec/latest |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年07月31日 19:26:53 | eryksun | set | recipients:
+ eryksun, jan parowka |
| 2015年07月31日 19:26:53 | eryksun | set | messageid: <1438370813.49.0.243099131192.issue24765@psf.upfronthosting.co.za> |
| 2015年07月31日 19:26:53 | eryksun | link | issue24765 messages |
| 2015年07月31日 19:26:53 | eryksun | create |
|