Python : writing to a file
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Sat Jan 10 12:06:56 EST 2015
Ganesh Pal wrote:
> Throttling-1# cat test_2.txt
Are you running these scripts as root? That could be a bad idea. If you have
a bug in your code, as often happens when coding, who knows what it might
do. E.g. if you put in the wrong pathname, you could overwrite important
files. You should always do your coding as a regular user, not root.
--
Steven
More information about the Python-list
mailing list