I know making a miner in python is inefficient and unprofitable, however I would like to do it as an experiment. What exactly is the code to generate a Scrypt mining hash in python? For example, I would like the code to do something like this:
def hashGen(): ... return hash
Where hash is a submittable Dogecoin Scrypt mining hash.