[Tutor] taking a tuple with input

2013-10-26 Thread Sven Hennig
Hey Guys, i'm running Python 3.3.2 on Windows 7 64 Bit I am writing a little script for practice and got a little problem. I wrote a class which got two points in the constructor (p1 and p2). With the function distanceOf from my class i measure the distance between these two points. Everything wo

Re: [Tutor] Beginner Question

2013-10-22 Thread Sven Hennig
22/10/2013 10:25, Sven Hennig wrote: > > > Hello, I would like to learn a programming language and have decided to > use > > Python. I have some programming experience and doing well in Python. What > > really causes me problems is OOP. > > I'm just dont get it...

[Tutor] Beginner Question

2013-10-22 Thread Sven Hennig
xamples of such Class Dog and the function is bark. Has anyone an OOP example for me as it is really used in real code, so I can better understand the concept? I do not know why this is so hard for me. Greetings Sven ___ Tutor maillist - Tutor@python.org

Re: [Tutor] Scheduling Python Execution

2013-04-15 Thread Sven
Akhmad > ___ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > -- ./Sven ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Please Help

2013-03-21 Thread Sven
calculating the average. def average(s): return sum(s) / len(s) # convert the list of strings to a list of floats tt = [float(x) for x in list_of_lists1] avg = average(tt) -- ./Sven ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] python on ipad

2013-03-10 Thread Sven
to jailbreak http://omz-software.com/pythonista/ although I have no idea how featured that is. Hope that helps -- ./Sven ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor