human
Cross-platform addressing of the config file
assistant
Here is some code to get file '~/foo.ini'

config_file = os.path.expanduser('~/foo.ini')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.