Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #65088 > unrolled thread

Would Python be suitable for a sports statistics website?

Started bybritt.jonathan89@gmail.com
First post2014-01-30 20:53 -0800
Last post2014-01-31 09:55 -0500
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  Would Python be suitable for a sports statistics website? britt.jonathan89@gmail.com - 2014-01-30 20:53 -0800
    Re: Would Python be suitable for a sports statistics website? Jeff Sandvik <jsandvik@gmail.com> - 2014-01-30 21:05 -0800
    Re: Would Python be suitable for a sports statistics website? Roy Smith <roy@panix.com> - 2014-01-31 09:55 -0500

#65088 — Would Python be suitable for a sports statistics website?

Frombritt.jonathan89@gmail.com
Date2014-01-30 20:53 -0800
SubjectWould Python be suitable for a sports statistics website?
Message-ID<1a7a822f-569b-4ead-9421-f1dcc5d4656e@googlegroups.com>
First off I wanted to apologize for the lack of specificity in my subject title. I am a relative newbie to programming and need some advice. I tried StackOverflow but was sort of turned away for not having code in my post. 

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 question is, would Python be a suitable language for developing a website / web application that performs these tasks? I've been researching Python and it is the language I am most interested in learning. I've been messing around with IDLE and have really enjoyed the syntax. I've also been reading about Django / Tornado etc. Thank you all so much for your time. 

[toc] | [next] | [standalone]


#65096

FromJeff Sandvik <jsandvik@gmail.com>
Date2014-01-30 21:05 -0800
Message-ID<mailman.6196.1391148148.18130.python-list@python.org>
In reply to#65088
Python is definitely suitable for that sort of task.

Django is good for this sort of thing, but I’d also like to mention using Flask (http://flask.pocoo.org), especially if you are a beginner. I use it for some of my work, and you could potentially get your project up and running that much quicker since it is a fairly light-weight web framework. The only thing is you’ll be missing out on some of the more convenient features that Django introduces.

On Jan 30, 2014, at 8:53 PM, britt.jonathan89@gmail.com wrote:

> First off I wanted to apologize for the lack of specificity in my subject title. I am a relative newbie to programming and need some advice. I tried StackOverflow but was sort of turned away for not having code in my post. 
> 
> 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 question is, would Python be a suitable language for developing a website / web application that performs these tasks? I've been researching Python and it is the language I am most interested in learning. I've been messing around with IDLE and have really enjoyed the syntax. I've also been reading about Django / Tornado etc. Thank you all so much for your time. 
> 
> -- 
> https://mail.python.org/mailman/listinfo/python-list

[toc] | [prev] | [next] | [standalone]


#65123

FromRoy Smith <roy@panix.com>
Date2014-01-31 09:55 -0500
Message-ID<roy-57986D.09554631012014@news.panix.com>
In reply to#65088
In article <1a7a822f-569b-4ead-9421-f1dcc5d4656e@googlegroups.com>,
 britt.jonathan89@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.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web