Python Forum

Full Version: Requisites for live data extraction and display
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dear all,

im a noob, but would like to create a monitor for certain purposes.
a friend told me python would be a viable option to conceive this in.
its functionality is as follows:
-extract data from a website that displays live data every second
-allow for entering parameters
-propagate extracted data and entered parameters through equations
-sort results of said equations in a continuously sorted list
-display this live sorted list

could anyone tell me on how to go about this, if possible at all
also, which language (wx, tkinter etc) would be best?

much appreciated
Getting data from a webpage: look into the requests module.
Extracting data from that page: look into the BeautifulSoup module.

Entering parameters is just variables and personal preference.
Sorting is as simple as calling .sort() on your things, or shoving the things in a small database like sqllite and letting that sort for you (if you have a ton of data over a long enough time frame).

Displaying the data is, again, personal preference. A webpage? bi-hourly texts? A few windows on your spare monitor?