>>107499728
list comprehension anon if you are and you want a schizo solution to the open() issue have you tried stuff like this
>>> [ ([__annotations__.update({"filename":f"abc{i}"})],i)[1] if i == 5 else i for i in range(10)]
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
>>> __annotations__
{'filename': 'abc5'}
the (...,i)[1] is to filter out the none-return from storing the state in the __annotations__ dict
I have had some success with __builtins__.__dict__ or whatever it was earlier too but it has been a while since I made shitpost programs like that