apache - Unable to create a file on Ubuntu server using Flask and Python -


i using f = open('name.json','w+') create new file , write it. unable create file. apache server logs show "no such file exists."

solved giving absolute path. trying combinations of paths , gave absolute path /var/www/arxiv/static/data/name.json , worked.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -