Python将值写入来自Internet的File txt

时间:2017-01-23 14:09:38

标签: linux raspberry-pi apache2

嗨,我有这个问题。 我想写txt文件有用的apache2和python CGI-SCRIPT。值发送有用的GETMETHOD。但浏览者说:

=>   30        with open('configuration.txt', 'w') as fp:
<type 'exceptions.IOError'>: [Errno 13] Permission denied: 'configuration.txt' 
      args = (13, 'Permission denied') 
      errno = 13 
      filename = 'configuration.txt' 
      message = '' 
      strerror = 'Permission denied'

0 个答案:

没有答案