To be fair, there's a lot of people asking for help on X-Y problems in the programming world, especially on python, and often the fastest way to sort out someone's issue is to walk it back to the original problem X they were trying to solve.
Yeah, but if you don't have an XY problem, you have to spend a lot of your question pre-defending the "it's not an XY problem" stance and lordy ... is that frustrating.
There's a lot of people out there who are happy to tell you that you have an XY problem, but when you explain why it is not, ... crickets.