Chemin des fichiers de configuration
Posté le lun. 18 février 2019 dans python
In [1]:
import appdirs
# Default path
print(appdirs.user_data_dir())
# Path with (only) a project defined
print(appdirs.user_data_dir('my_app', ''))
# Path with both a project and a company
print(appdirs.user_data_dir('my_app', 'my_company'))