Electromagnetic Computing Python