Re: [Tutor] mod_python, mod_wsgi, web.py, django! What to use?

2008-09-28 Thread Chris Babcock
> So, lets say I want to develop a distributable web application (such > as phpBB or Drupal) for Python. What platform (mod_wsgi, mod_python) > would I use to reach as many users as possible, and on top of that, > which (if any) framework should I use to develop this web application? A lot of appl

[Tutor] Question on DOMImplementation Objects

2008-09-30 Thread Chris Babcock
Does the DOMImplementation interface support schemas? I'm tweaking an example from a book to process a flat file registration database: from xml.dom import implementation class RegistrationParser: def parseFile(self, fileAsString): # Create DocType Declaration doctype = implement

Re: [Tutor] Hands-on beginner's project?

2008-10-03 Thread Chris Babcock
> Loops, then? The code this is based off of had the second line of > actual code (between "room = 1" and "if room ==1") as "while true:", > but when I include this, it gives an error at that line. Is there > another way to do that? Maybe "while room != 4.2"? What you had before was... room =

Re: [Tutor] Word Frequency Chart

2008-12-24 Thread Chris Babcock
On Tue, 23 Dec 2008 19:17:33 -0800 (PST) Ishan Puri wrote: > Hello, > I am a beginner with Python but I understand a lot of > linguistics. I am a high school student. I needed help (from the > beginning) making a word frequency chart that I can use to chart out > the numerical frequencies of

Re: [Tutor] SMTP Module Help

2009-01-07 Thread Chris Babcock
On Wed, 07 Jan 2009 15:47:25 +0100 Ole Henning Jensen wrote: > Marco Petersen wrote: > > I'm using Python 2.5.4. I wanted to try out the SMTP module. I > > tried to send an email through my Gmail account but it keeps saying > > that the connection was refused. > > error: (10061, 'Connection refu

Re: [Tutor] MySqldb problem

2009-01-20 Thread Chris Babcock
On 20 Jan 2009 11:10:14 - "Manoj kumar" wrote: > i am a newbie to python programming. i just know basics of the > language. i came across MySqldb. i able to manipulate database with > MySqldb but i wasn't able to add files in database through the lib > MySqldb. Right. Whatever you wa