i was trying to do a config.ini with configpaser i got it working with this
from configparser import ConfigParser
#-------Message Config Start ------------#
config = ConfigParser()
config.read('config.ini')
#Devicename for Message Curls
Geraet = str = config['DEFAULT']['Geraet_Name']
YellowBellX = str = config['DEFAULT']['YellowBellXCoord']
YellowBellY = str = config['DEFAULT']['YellowBellYCoord']
it works for urls of telegram curl and Geraet Name works alsow
but when i use this for x y for pixelmatch i get error Exeption windll.gdi32.GetPixel failed : return -1
if i change YellowBellX to Coords it works YellowBellX = 355 YellowBellY = 219
this works and pixel match is correct with no error
but i want to use Variable in the Config File