Using Python, How can I create a bot/script that let's me re-post a subreddit's post to Lemmy?

https://lemmy.fmhy.ml/post/818426

Why does everybody wants to use python 😔
It’s a widely supported language with comparably fewer gotchas and foot guns.
Ohh you got python3 installed but this script is only for python2. Oh no you want a specific version of a package you gotta create a fucking venv for it! And hope that you dont forget next time you start :) Oh you renamed a variable of a class. You gotta catch them all! With the (sorry) worst error messages i have ever seen. You can still delete system32 with it.

I have such mixed emotions about Python. I have to concede its uses. Especially when working with data and data scientists. A lot of people use it. There is a good amount of existing code floating around that can be re-used, etc. Its never the first language I reach for, but I have to accept that a lot of people use it.

But OMG, I have had to re-install my OS more than once due to python versioning issues. Not recently sure, I think I have it figured out now with virtualenv and pyenv, but it literally has caused me to reformat twice after getting too deep into dependency version mismatch hell.

You are the first who understand those issues. And yeah Data scientists use it.

The only one thing i really like in python are the decorators. Those are neat.