My python bot have to write in a file, on my computer the bot can write in the file, but on the server it doesn't work.
Must bot have right to write in a file ?
This is the commande I use for that the bot write in a file, is it a wrong command for a python bot who is on a server ?
(the file Recuperation.txt is in the same folder that the python bot, and as I already said, it works when the bot and the file is used on my computer)
- Code: Select all
recuperation = open("Recuperation.txt", "w")
recuperation.write(str(liste) + " " +str(liste2) + " " + str(liste_temps))
recuperation.close()
Username : frenchdeathxxl
Server : Epsilon