Mar-24-2017, 01:18 PM
(Mar-13-2017, 09:26 PM)Ofnuts Wrote: http://stackoverflow.com/questions/18306...-in-python
I'm going to give this half a thumbs up as it only addresses half the problem, the other half is actually moving the files. I believe (not 100% sure) that you have to be the user (owner of the file) and even then only to a directory for which you have 'write' privileges or greater, or you need administrative privileges (for linux, think sudo) or possibly even be logged in as Administrator (for linux, think root). Note that administrative privileges is not the same as Administrator, which is why, by default, Windows disables the Administrator, much like many Linux versions hide the 'root' login. An example, on my Windows 10 machine, I have administrative permissions, yet I am not allowed to write to the 'hosts' file, for that, I have to login as 'Administrator'.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition