Re: [Tutor] Beginner question(s)

2006-06-18 Thread John Fouhy
> Also, does anyone know of a PDA that would run python? Some of the new Nokias run python: http://www.forum.nokia.com/python -- John. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Beginner Question

2006-06-18 Thread Daniel McQuay
On 6/18/06, Josh F <[EMAIL PROTECTED]> wrote: re. Beginner QuestionI'm still in the fairly early stages of learning Python, but I have anintermediate level of HTML, CSS, and VB6 knowledge along with thefundamentals of C and C++ and a very little bit of PERL.. But enough about me...Here's the soluti

Re: [Tutor] Beginner question(s)

2006-06-18 Thread Ismael Garrido
Alan Gauld wrote: >> Also, does anyone know of a PDA that would run python? >> > > There was a project called pippy, but I haven't heard anything of it > recently so I don't know if its still around or if it runs on modern > PDAs - I think it was PalmOS anyhow... > > Pippy is quite dea

Re: [Tutor] Beginner question(s)

2006-06-18 Thread Alan Gauld
> message = raw_input("Enter your message:") > for i in range(len(message)-1,-1, -1): >print i, > > but I just get the numeric values of the string. Can anyone help? As an alternative approach consider converting to a list and using the reverse method... > Also, does anyone know of a PDA t

Re: [Tutor] I Give Up.

2006-06-18 Thread Alan Gauld
> reference docs, they do not replace tutorial books like "Learning > Python" or "Learn to Program Using Python" (by Alan Gauld, who Thanks for the plug, but I'd be first to admit my tutor is way too basic to go near the ConfigParser modules etc. I had actually hoped that Mertz' "Text Processing i

Re: [Tutor] Beginner Question

2006-06-18 Thread Josh F
re. Beginner Question I'm still in the fairly early stages of learning Python, but I have an intermediate level of HTML, CSS, and VB6 knowledge along with the fundamentals of C and C++ and a very little bit of PERL.. But enough about me...Here's the solution. message = raw_input("Enter your me

Re: [Tutor] I Give Up.

2006-06-18 Thread Dave Kuhlman
On Sat, Jun 17, 2006 at 07:37:40PM -0400, Brian Gustin wrote: [snip] > > OK.. maybe another project to tackle.. I guess I just need to start > building the python documentation the way I think it outta be done... > and see how it goes over.. At the top of the table of contents of the library

Re: [Tutor] Writing to a remote file

2006-06-18 Thread kieran flanagan
Hi   Thanks for the help. I took a quick scan through the logging module and I can't see any mention of writing to a remote file ? Could you please direct me to the part you mentioned ?. I went through some of the examples and the one related to remote logging is via the console (tcp port). I cann

Re: [Tutor] Performance of classes

2006-06-18 Thread Ismael Garrido
Kent Johnson wrote: > Ismael Garrido wrote: > >> I have attached the code, I hope that's fine. If you have any further >> optimization suggestions I would be very glad to hear them :) >> > > generarResist() is doing a lot more work than necessary. Because i and j > both iterate the entire

Re: [Tutor] Beginner question(s)

2006-06-18 Thread Michael Sullivan
On Sun, 2006-06-18 at 05:58 -0500, Bill Tatum wrote: > Hi, > > > > I’m working through Python Programming for the Absolute Beginner. One > of the challenges at the end of chapter 4 is to get a message from the > user and then print it out backwards. I have… > > > > message = raw_input("Ent

Re: [Tutor] Performance of classes

2006-06-18 Thread Kent Johnson
Ismael Garrido wrote: > Hello > > I'm writing a program to find an appropiate combination of resistances > to obtain a desired value of resistance. The program takes into account > how many resistances you have available and their resistance in ohms. > > Since this problem (as far as I can tell

[Tutor] socket.recvfrom() not getting data

2006-06-18 Thread gc
I've hit the wall trying to receive some data from a socket and hope potential cross posting won't upset too many of you. In summary, I'm playing with a DHCP client written in python just to get a feel for it before getting down to serious work (see the PS for more info) This segment of code se

[Tutor] Beginner question(s)

2006-06-18 Thread Bill Tatum
Hi,   I’m working through Python Programming for the Absolute Beginner.  One of the challenges at the end of chapter 4 is to get a message from the user and then print it out backwards. I have…   message = raw_input("Enter your message:") count = len(message) print count   which giv

Re: [Tutor] I Give Up.

2006-06-18 Thread learner404
On 18/06/06, Brian Gustin <[EMAIL PROTECTED]> wrote: The one amazing thing I found ridiculously funny:Python "official" forums- and they actually run phpBB forums?  You meanto tell me no one has written a solid, stable forum software in Python? OK.. maybe another project to tackle.. I guess I just