Hello everyone.
I have a working project on my local machine. I am getting a NoSectionError raised by the ConfigParser module. The weird thing is that the project works fine on local and I am 100% sure that the section is there (I mean the file I am trying to read is called apikey.cfg and literally has one section [Keys] and then i have two apikeys I am using).
I have found a similar thread , and it seemed there that the problem was coming from relative/absolute paths. So I tried making my relative paths into absolute by importing os and using os.path.abspath('apikey.cfg'). But again, this also works on local but raises the same error from PythonAnywhere.
Any idea what is the problem here? Thanks in advance for the interest.