xml SAX Parsing in python

2014-12-16 Thread Abubakar Roko
Good day, Please I am new in using python to write program. I am trying to parse an XML document using sax parse  and store the parsed result in a tree like definedbelow. XNode class define an xml element which has an ID , a tag, a text value, children element and a parent element              

Re: uWSGI, nGinx, and python on Wheezy: how do you configure it?

2014-12-16 Thread Veek M
http://discuss.joelonsoftware.com/default.asp?joel.3.219431.12 -- https://mail.python.org/mailman/listinfo/python-list

Re: uWSGI, nGinx, and python on Wheezy: how do you configure it?

2014-12-16 Thread Veek M
Just to be very very clear about this: 1. I have never worked seriously with Javascript, frameworks, django, flask etc. 2. I can write CGI on Apache. 3. I have never worked with nginx untill 2 days ago. 4. All this started because I wanted to mess with SQL/CSS/HTML5. 5. Some frigging! *moron* on I

Re: uWSGI, nGinx, and python on Wheezy: how do you configure it?

2014-12-16 Thread Veek M
Chris Warrick wrote: > This is NOT how uwsgi works! You cannot use plain .py files with it, > and for good reason ? CGI should be long dead. > > What you need to do is, you must write a webapp ? in Flask, for > example. Then you must craft an .ini file that mentions this. **Hi Chris, Could you

Re: Simple background sound effect playback

2014-12-16 Thread Ian Kelly
On Tue, Dec 16, 2014 at 9:57 AM, Jacob Kruger wrote: > > Would prefer to use something free, that could work somewhat cross-platform, but, my primary target is for windows OS, and would primarily just want to be able to easily trigger playback of either .wav or .mp3 background sound effects, but,

Re: ANN: Benchmarker 4.0.0 released - small but awesome benchmark utility

2014-12-16 Thread Makoto Kuwata
I released Benchmarker.py ver 4.0.1 which includes several bug fixes. If you failed to install Benchmarker.py 4.0.0, try 4.0.1. http://pypi.python.org/pypi/Benchmarker/ http://pythonhosted.org/Benchmarker/ Bugfix -- * Fix 'setup.py' not to import 'ez_setup' * Fix to parse user-defined proper

Simple background sound effect playback

2014-12-16 Thread Jacob Kruger
Would prefer to use something free, that could work somewhat cross-platform, but, my primary target is for windows OS, and would primarily just want to be able to easily trigger playback of either .wav or .mp3 background sound effects, but, yes, would also be nice to be able to control them a li

Re: Neat little programming puzzle

2014-12-16 Thread sohcahtoa82
On Monday, December 15, 2014 9:52:58 PM UTC-8, Jason Swails wrote: > This was a problem posed to me, which I solved in Python.  I thought it was > neat and enjoyed the exercise of working through it; feel free to ignore.  > For people looking for little projects to practice their skills with (or

Re: Neat little programming puzzle

2014-12-16 Thread neng . zhou
On Tuesday, December 16, 2014 12:52:58 AM UTC-5, Jason Swails wrote: > This was a problem posed to me, which I solved in Python.  I thought it was > neat and enjoyed the exercise of working through it; feel free to ignore.  > For people looking for little projects to practice their skills with (o

Re: uWSGI, nGinx, and python on Wheezy: how do you configure it?

2014-12-16 Thread Chris Warrick
On Tue, Dec 16, 2014 at 4:01 PM, Veek M wrote: > Has anyone got the thing to work? I want to run some python database scripts > on nginx. Because that will have a simple web-UI, i decided to go with > uWSGI. It's proving to be a massive pain. > > I found a decent book for nginx and got that bit wo

uWSGI, nGinx, and python on Wheezy: how do you configure it?

2014-12-16 Thread Veek M
Has anyone got the thing to work? I want to run some python database scripts on nginx. Because that will have a simple web-UI, i decided to go with uWSGI. It's proving to be a massive pain. I found a decent book for nginx and got that bit working. The query gets sent to uWSGI but for some reaso

Job - Interface Database Programmer

2014-12-16 Thread Kenya Pulliam Sabbat
Sigma Space is seeking an Interface/Database Programmer to join our team in support of the Science Computing Facility (SCF) for NASA’s Ice Cloud and land Elevation satellite mission (ICESat-2). This position will be located at the NASA Goddard Space Flight Center (GSFC). The interfaces will giv

Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition

2014-12-16 Thread Petr Viktorin
On Sun, Dec 14, 2014 at 1:14 AM, Nick Coghlan wrote: [...] > Barry, Petr, any of the other folks working on distro level C extension > ports, perhaps one of you would be willing to consider an update to the C > extension porting guide to be more in line with Brett's latest version of > the Python

Re: Neat little programming puzzle

2014-12-16 Thread Nobody
On Tue, 16 Dec 2014 00:46:16 -0500, Jason Swails wrote: > I liked this problem because naive solutions scale as O(2^N), begging for > a more efficient approach. Project Euler has this one, twice; problems 18 and 67. The difference between the two is that problem 18 has 15 rows while problem 67 h