So I have tried to write a small config file for my script, which should specify an IP address, a port and a URL which should be created via interpolation using the former two variables. My config.ini looks like this: In my script I parse this config file as follows: If I run my script, this results in: I have