How to access market price from Python?
Perhaps you can use the Python library CCXT:

https://github.com/kroitor/ccxt

It offers an homogeneous interface for accessing market data at different exchanges like Kraken, Coinbase, Bitstamp, etc...