Need help with package manager

i have a package manager written in python, how can it read configuration files like .rc and take info from it?

Have you experimented with the rcfile package? It doesn’t appear to have been updated in quite a while but maybe it’ll work for you: pip install rcfile

i have seen it but am unsure how to set it up, could you explain please?

I’ve never used it myself but in digging into it’s source code is just seems to be a wrapper around the standard library’s configparser. ConfigParser is very well documented so that might be a better place for your to start.

1 Like