Generating Public/Private Bitcoin Keys

I came across the following code for generating public/private key pairs in python for the Bitcoin blockchain.

Are there any other ways (libraries) to to do this? (Google came up fruitless in my attempts to find one. python-bitcoinlib seems interesting but I didn't quite understand the documentation)

What other crypto currencies, that are forks of the Bitcoin code base, can use this same way of generating key pairs? (i.e. can this code be used to generate addresses for Dash, Pivx and their derivatives?)

#python #cryptocurrency #blockchain #bitcoin

23.20 GEEK