python - Building an App: Is it bad form to have an app create directories on users computer for program file storage? -


i'm building app pyside. part of app download xml files website , store them later use. example, every time program started checks these directories and, if cannot found, downloads xml files, creates new directories, , stores files in them. i'm wondering if there compelling reason not allow program create new directories (permissions, security, etc.) and, if so, other options exist?

edit: clear, i'll need read , write these directories , possibly create new ones new files appear on webpage.

almost programs need write config and/or cache directories. thing need worry making sure use appropriate platform-specific locations doing this. not use arbitrary, application-specific directory.

in qt4, qdesktopservices class can used determine correct storage locations, or in qt5, there's qstandardpaths class.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -