Python3 version

I altered getTransactions