Would Python be suitable for a sports statistics website?

Roy Smith roy at panix.com
Fri Jan 31 09:55:46 EST 2014


In article <1a7a822f-569b-4ead-9421-f1dcc5d4656e at googlegroups.com>,
 britt.jonathan89 at gmail.com wrote:

> I have been assigned by an internship with my university's athletic 
> department, to create a statistics website to be used by sports media during 
> games. What this means is that the statistics are generated by a stats 
> computer into an XML file and I am wanting to parse this XML file and place 
> it on the web quickly. Not necessarily in real-time but in a matter of a 
> couple of seconds. I'd like to make a clean, simple website to start off with 
> that displays these statistics. 
> 
> I've been playing around with Javascript and jQuery and as a beginning 
> programmer have really been in over my head. What I want to do is start 
> completely over and actually try to learn a language before diving in.

My first thought is that this is a really ambitious project for a 
beginning programmer.

My second thought is that maybe you want to bypass most of the work by 
having a mostly static site (which you can build with any number of 
Content Management Systems, even something like WordPress).  Then, have 
a process which takes the XML, parses it (you would use Python's lxml 
library), and produces a HTML file containing the formatted scores.  You 
could then include you HTML in the static site by way of an iframe, or 
something like that.



More information about the Python-list mailing list