Re: [Tutor] How to make comparison work

2014-04-11 Thread Gregg Martinson
Excellent. I guess I never read through the class stuff in learning python(its a great book, but very detailed) Now I know better! -- http://about.me/greggmartinson On Fri, Apr 11, 2014 at 3:32 AM, Peter Otten <__pete...@web.de> wrote: > Gregg Martinson wrote: > > > I

[Tutor] How to make comparison work

2014-04-11 Thread Gregg Martinson
I have been working through a fairly simple process to teach myself python and I am running into a problem with a comparison. Can anyone tell me where I am going wrong? #!/usr/bin/env python class Team(object): code = "" opponents_debated=[] wins=0 losses=0 competitors=[]

[Tutor] Why does the last loop not work?

2014-02-25 Thread Gregg Martinson
I am trying to generate a list of teams using objects that I collect into a list that I can cycle through. But when I run the last loop there is nothing produced. I am pretty sure it has to do with my syntax for the list and the substitution of a a local variable but I can't figure out how to mak

[Tutor] python "glue"

2011-06-05 Thread Benjamin Gregg
Hi I recently bought a book (python programing for the absolute beginner) and it said python was a "glue" language (could work with other languages) I've been trying to make apps for android and webOS and I was wondering if I could use python for doing this through "glueing" to program games on a

[Tutor] slice lists and slicing syntax questions

2007-10-12 Thread gregg
] for j in good_indices] (I ask this because I think this is a misfeature, and I hope that I can be corrected in my perception, not because I dislike Python. Quite the contrary!) Thanks, Gregg Lind ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor