communication w python miner