Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Use clint to track preference files and progress #3

Open
razzius opened this issue May 5, 2014 · 0 comments
Open

Use clint to track preference files and progress #3

razzius opened this issue May 5, 2014 · 0 comments

Comments

@razzius
Copy link
Member

razzius commented May 5, 2014

https://github.com/kennethreitz/clint

From readme.md:

"I want to store a configuration file.

>>> from clint import resources

>>> resources.init('Company', 'AppName')
>>> resources.user.write('config.ini', file_contents)

# OSX: '/Users/appuser/Library/Application Support/AppName/config.ini'
# Windows: 'C:\\Users\\appuser\\AppData\\Local\\Company\\AppName\\config.ini'
# Linux: '/home/appuser/.config/appname/config.ini'

"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant