how to access data from python. modifications