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 - Exception while importing pymorphy2 -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -