Hello, I am new to this place, here is my problem: this is a part of my code which has the problem:
f = open('example_test.py', 'a')
f.write(flask.request.form.get('text'))
f.close()
It works fine with pycharm in my computer. But it doesn't work when a user uses it. I use flask and send some data entered by the user. what is the problem? does it need a root access or something?
P.S: my python files in my computer are the same as in my account in here, and it worked on localhost:5000