Getting "ConfigParser.NoSectionError" while trying to read input from a file
Asked by
saryu
W.R.T the discussion on https:/
I tried to read input from a file. Getting "ConfigParser.
#my code
import ConfigParser
config = ConfigParser.
config.
my_username = config.
my_address = config.
#inside config.ini
[user1]
username = ABC
address = 123
[user2]
username = XYZ
address = 345
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask saryu for more information if necessary.
To post a message you must log in.