I tried to get a private view key but somehow I can't get it to work. However, I do manage to get the hash of the seed from the hexadecimal seed created from the mnemonic.
The hexadecimal seed was obtained from here for testing. I seem to manage to get the correct hash of th seed by keccak_256 hexadecimal seed.
I read many sites state that private view keys can be obtained by sc_reduce32 the hash of seed. But I don't get it working.
Here is my code; it runs in Python 2.7.
Can someone show me how to get the private view key from the hash of the seed?
If possible I prefer the method to work in Python 2.7 since most of my previous work was done in that Python version.