Learning how to connect to database from Python and real-time plotting

Got some irritating errors.. Fighting with such a trival task, moreover it already took me 30 mintues..

Tough to admit, but it wasn’t an error at all. Didn’t realize that exit method in python return some “error like” output. Nevertheless I’m connected!

Later was very easy – just to wrap previous arima 5-minute script with a while loop that on every iteration draws another predictions. Need to do some tweaking to have just 1 line (redraw everything?) but it’s for tomottow:

Untitled-1

Quote for today:

“Judge your success by what you had to give up in order to get it.”

― Dalai Lama XIV

Thanks for reading,
Łukasz.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s