Hi, I have a very tricky situation (for my standards) in hand. I have a script that needs to read script variable name from configparser. e.g. I need to read
self.post.id
from .cfg file and use it as a variable in the script. How do i achieve this?
--Thanks Mohit
EDIT - i suppose i was unclear in my query. The cfg file looks something like,
[head]
test: me
some variable : self.post.id
This self.post.id is to be replaced at the run time, taking values from the script –