Cross-platform addressing of the config file,config_file = os.path.expanduser('~/foo.ini')