Re: [Tutor] httpd in your laptop?!? serve web pages and wikis in your notebook?

2007-03-01 Thread Kirk Bailey
it is good, no arguement, I have a copy. I am trying to come up with the solution that has the MINIMUM impact on the system so as to be supportable on an obsolete laptop with an underpowered processor, so size and clock cycle demands are high priorities. abyss is very good, but not so small, and

[Tutor] Difficulty with the subprocess module

2007-03-01 Thread Dhiraj Sharma
I am using the subprocess module to capture the input/output of a process on a Windows machine with Python 2.5 and ran into a puzzling problem. The following works well: p = subprocess.Popen("cat", buffer=0, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subproc

Re: [Tutor] python problem

2007-03-01 Thread Andreas Kostyrka
Actually, it's a corner case, because the posted exercise seems to be the lab exercise where students are allowed to cooperate and ask for help. The second part of the exercise they need to do themselves alone. Andreas ___ Tutor maillist - Tutor@python

Re: [Tutor] howto call DOM with python

2007-03-01 Thread Alan Gauld
"Ismael Farfán Estrada" <[EMAIL PROTECTED]> wrote > I was wondering wheter someone knows how to use python to write > a client-side scripts like if it were java, I want to get someting > like > this working > > > window.alert("python") > > You can do that in Internet Explorer provided you a)

Re: [Tutor] Problem with Import

2007-03-01 Thread Alan Gauld
"Nagendra Singh" <[EMAIL PROTECTED]> wrote > experimenting I found out that it works with Python 2.3 but not 2.4 >> > >>> import gdal >> > Traceback (most recent call last): >> > File "", line 1, in ? >> > File "/usr/lib/python2.4/site-packages/gdal.py", line 191, in ? >> > import _gdal

Re: [Tutor] python problem

2007-03-01 Thread Carroll, Barry
> -Original Message- > Date: Thu, 1 Mar 2007 10:54:36 -0500 > From: Kent Johnson <[EMAIL PROTECTED]> > Subject: Re: [Tutor] python problem > To: "Purcell, Brittany Nicole" <[EMAIL PROTECTED]>, > > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1

Re: [Tutor] Explanation of this lambda

2007-03-01 Thread Eric Brunson
Johan Geldenhuys wrote: > Thanks, Alan. > > That makes it a lot easier to understand. I'll play around with other > examples to see what it is doing. > > Johan > A good first step to understanding a confusing lambda is to convert it to a normal function.\ Just my $.02, e. > -Original Me

Re: [Tutor] httpd in your laptop?!? serve web pages and wikis in your notebook?

2007-03-01 Thread Chris Hengge
I was using Abyss web server for a long time since it has multi-OS support and a friendly web based UI for administration. Seemed extremely light weight to me. On 2/27/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: Kirk Bailey wrote: > ok, I realized SOME TIME BACK that to run MANY THINGS in

Re: [Tutor] python problem

2007-03-01 Thread Andreas Kostyrka
Why does that look like a homework to me? One where you are supposed to solve it by yourself? Andreas _ Ursprüngliche Mitteilung _ Betreff:[Tutor] python problem Autor: "Purcell, Brittany Nicole" <[EMAIL PROTECTED]> Datum: 1. März 2007 7:40:45 I have no idea how to eve

Re: [Tutor] python problem

2007-03-01 Thread Kent Johnson
> From: "Ted Roche" <[EMAIL PROTECTED]> > Sounds like A201 to me... > > http://www.cs.indiana.edu/classes/a201/Syllabus.html Yes, assignment 7 lab work http://www.cs.indiana.edu/classes/a201/a/7/index.html Kent ___ Tutor maillist - Tutor@python.org

Re: [Tutor] python problem

2007-03-01 Thread Rikard Bosnjakovic
On 3/1/07, Purcell, Brittany Nicole <[EMAIL PROTECTED]> wrote: > I have no idea how to even begin to program something like this and > what I need to do is: We won't do your homework unless you atleast show that you are interested in learning what you are doing, and not only going for grade point

Re: [Tutor] Problem with Import

2007-03-01 Thread Nagendra Singh
Thanks for the suggestion, the Python path is correct. After a bit of experimenting I found out that it works with Python 2.3 but not 2.4 but I have no clue as to why. Nagendra On 2/28/07, Jalil <[EMAIL PROTECTED]> wrote: check your python path On 2/28/07, Nagendra Singh <[EMAIL PROTECTED]> w

Re: [Tutor] python problem

2007-03-01 Thread Kent Johnson
> > From: "Purcell, Brittany Nicole" <[EMAIL PROTECTED]> > Date: 2007/03/01 Thu AM 01:40:45 EST > To: tutor@python.org > Subject: [Tutor] python problem > > I have no idea how to even begin to program something like this and > what I need to do is: > To complete the skeleton by replacing ellips

[Tutor] python problem

2007-03-01 Thread Purcell, Brittany Nicole
I have no idea how to even begin to program something like this and what I need to do is: To complete the skeleton by replacing ellipsis (in this case vertical) with a solution. The number of dot indicates the number of lines of the solution, and fill in the following dots: def every_nth(s, n)