Appologies for the really long drawn out question. I am trying to read in a config file and get a list of rules out.
In development mode, I have the following directory tree : my_project/ setup.py my_project/ __init__.py
I like to convert in a Python script the following string: mystring=\'(5,650),(235,650),(465,650),(695,650)\'
I have something like this in my config file (a config option that contains a list of strings): [filters]
I have a config file as follows: [job]开发者_如何学Go mailto=bob logFile=blahDeBlah.txt I want to read the options using SafeConfigParser:
To be honest I\'m writing this question to try to clear up my mind in the process. If I can\'t figure it out, I\'ll post it (which happened). I would appreciate if someone could shed some light on how
I thought that the set method of ConfigParser module updates the field given, but, it seems that the change remains only in memory and 开发者_开发技巧doesn\'t get into the config file. Is it a normal
I\'m using Config开发者_运维百科Parser in Python config.ini is [general] name: my_name base_dir: /home/myhome/exp
For a reason I don\'t understand the following line causes my sikuli/python script to break.I suspect this is because my code to read a config file is buggy.I fail to see why, what am I misssing.
I would like to use a configuration file with some simple math expressions like adding or substracting.