The tutorial linked above, also contains a link to a Python example from 8(!) years ago.
You can translate it to any language, of course.
But the whole signing procedure is a bit complicated and if you just want to build something, I would recommend you just use an existing library for signing.
Posted the link, so you can see how much trouble it is.
Oh wow... that's beyond complicated for me 🤣
ok, I'm going to follow your advice and use one of the existing library we already have to sign transaction: after giving a look at that I have no more doubts ahahaha
For a Python user you would recommend using BEEM for signing? Or are there other libraries which are better and/or more updated?
It doesn't matter which lib you use.
I use beem, but by accessing its underlying functions like demonstrated somwehere else in this comment section here. The more abstract, the more errors can occur. But then again: more abstraction can make the code more readable.
It's up to you and what suits your needs best...
Follow my blog for more 😎