i'm just curious why I need to create my own Bitcoin address instead of using the ones generated by Electrum.
The difference is minimal whether you know python or not.
In a scenario where the user knows how to read python, then he don't have to involve trust on using Electrum if you verify its seed-generation and address derivation code.
The only benefit that I can see is this is just a few lines of code that's easily auditable within a few minutes compared to Electrum's code (
excluding the imported libraries)
Although overall, in the end, a power-user will know how secure the entropy used and if the address is correctly generated.
But in a scenario where the user is just an average joe, he can verify neither, then there's no tiny benefit on using OP's script in that case.
And since that advantage is about convenience, it's the opposite even since a non-tech savvy user will find it hard to run a python script rather than using a wallet with GUI.
-snip-
Try to enclose your script between
[code][/code] tags.
Reason is: The forum might break its formatting, specially long strings and it's quite hard to copy.
Also, some people could have trouble differentiating which are the parts of the script from the notes of your post.