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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -