I want to make a module in python so when I execute this func for example:
readmyconf(myprogram.conf)
every variable in the file to become a variable in my program.For example,conf:
name=something
ip=10.2.2.2
And in the program after executing my function there are the variables name and ip with the assigned values
Thanks in advance