Using Python, How can I create a bot/script that let's me re-post a subreddit's post to Lemmy?
Using Python, How can I create a bot/script that let's me re-post a subreddit's post to Lemmy?
easy to learn yeah ig. But for anything more than a simple 1 file organized script its not (easily) capable. I dont even want to start with the indentations. Yeah many packages :) But why? Because like half of vanilla stuff from other languages cant be done without it. Most known? Most started to learn language. Those âscriptâ kiddies count in there too. I have to work with it everyday and i dont know how such bs could ever been created from a sane person.
Most of it is personal opinion and will spark like html is not a programming language some heated discussions here.
What can you do in C without including stdio.h? Aost nothing. Far less than with python. Ignoring built in libraries is no fair criticism imo. Also all that you listed can be done without importing anything, just with oop (yes, in a turing complete language you can already anything but I meant it is not even that complicated to implement these things with basic python)
I think it is an mediocre language if youâre into compiter science or dev, but for scientific programming and simple tasks it is great. So for some it is the best beginner programming language.
Python 3 has all those things built-in, and datetime has been there forever:
import abc Import typing Import enum Import datetime
Whatâs wrong with the json encoder?
yeah i meant internal libs.
Json encoder does shit with datetime objects.