Re: [Tutor] Loop help

2009-08-16 Thread Fidel Sanchez-Bueno
Nathan Wing escribió: Hello All, I've been racking my brain trying to figure out, what I imagine to be, a very simple problem. I found the Intro to comp science MIT open course (http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-00Fall-2007/CourseHome/index.htm) and was

Re: [Tutor] Loop help

2009-08-16 Thread Dave Angel
Nathan Wing wrote: Hello All,I've been racking my brain trying to figure out, what I imagine to be, a very simple problem. I found the Intro to comp science MIT open course ( http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-00Fall-2007/CourseHome/index.htm) and was working

[Tutor] Loop help

2009-08-16 Thread Nathan Wing
Hello All,I've been racking my brain trying to figure out, what I imagine to be, a very simple problem. I found the Intro to comp science MIT open course ( http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-00Fall-2007/CourseHome/index.htm) and was working on the very first ho

Re: [Tutor] Iterating through objects

2009-08-16 Thread Alan Gauld
"GoodPotatoes" wrote print page1.readlines() From this excercise, the first time I read page1 I get all of the lines. The best thing to do is store them in a variable then print them. That way you can access them at will: lines = page1.readlines() print lines # all of them as a list pr

Re: [Tutor] Iterating through objects

2009-08-16 Thread bob gailer
GoodPotatoes wrote: I'm not sure if I've been searching using the correct terms. After I've iterated through an object, such as a cursor or webpage, how do I get back to the "top"? e.g. tutorial from http://www.daniweb.com/code/snippet563.html# print page1.readlines() Capture the lines in

[Tutor] Iterating through objects

2009-08-16 Thread GoodPotatoes
I'm not sure if I've been searching using the correct terms. After I've iterated through an object, such as a cursor or webpage, how do I get back to the "top"? e.g. tutorial from http://www.daniweb.com/code/snippet563.html# print page1.readlines() >From this excercise, the first time I read

Re: [Tutor] python's database

2009-08-16 Thread David Kim
I don't know how much it's in use, but I thought gadfly ( http://gadfly.sourceforge.net/) was the db that's implemented in python. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor