Re: [Tutor] Building Starships -- object of type 'int' has no len()

2014-08-18 Thread Marc Tompkins
On Sun, Aug 17, 2014 at 10:51 PM, Terry--gmail wrote: > I'm copy and pasting from Ninja-IDE, which I thought was created > specifically to do python programming... Specifically for programming, yes, and Python is among the supported languages - but according to their web page, they support many l

Re: [Tutor] Building Starships -- object of type 'int' has no len()

2014-08-18 Thread Cameron Simpson
On 17Aug2014 23:51, Terry--gmail wrote: I'm copy and pasting from Ninja-IDE, which I thought was created specifically to do python programming...so I never checked to see if it needs to have the tab set to enter 4 spaces, as it appeared visually to be doing that. But, I don't remember whether

Re: [Tutor] Building Starships -- object of type 'int' has no len()

2014-08-18 Thread Marc Tompkins
On Mon, Aug 18, 2014 at 12:13 AM, Cameron Simpson wrote: > On 17Aug2014 23:51, Terry--gmail wrote: >> >> I'm copy and pasting from Ninja-IDE, which I thought was created >> specifically to do python programming...so I never checked to see if it >> needs to have the tab set to enter 4 spaces, as i

[Tutor] Tutor

2014-08-18 Thread BALDWIN, CATHY L (Legal)
"I'm in Grand Prairie, TX and need a tutor. Someone I can meet with who can explain it to me like I'm 4 years old. Anybody out there up for the challenge. I will gladly pay you for your help. email me at home dac...@aol.com" Cathy L. Baldwin Legal Assistant to: Ken Gitter,

Re: [Tutor] Error in get pixel value in coordinate (x, y) using getPixel(x, y)

2014-08-18 Thread Whees Northbee
I'm so sorry for late reply, my laptop broken, the code actually I already put in thread before so I'll copy to here.. I don't know how to get pixel, I just searched and many link using 'getPixel' to get value of pixel.. I know color frame using 3 channel B G R to get pixel, but I just want to get

[Tutor] how do I make my code better?

2014-08-18 Thread keith papa
Am a newbie and I decided to code a program that you input a round number and spit out the list of names or other information? how do I make this better? how do I make the code repeat itself, so I can keep asking the program to print out list of names for a variable? here my code: print 'Hel

Re: [Tutor] Tutor

2014-08-18 Thread Alan Gauld
On 18/08/14 16:23, BALDWIN, CATHY L (Legal) wrote: "I'm in Grand Prairie, TX and need a tutor. Someone I can meet with who can explain it to me like I'm 4 years old. Anybody out there up for the challenge. That's not really how the tutor list works. Instead, you try to learn the language (eith

Re: [Tutor] Tutor

2014-08-18 Thread Ben Finney
"BALDWIN, CATHY L (Legal)" writes: > "I'm in Grand Prairie, TX and need a tutor. This forum is dedicated to tutoring people *here*, in the forum, in public. This is a great benefit because all participants (including you) can observe the discussions and learn from them. > Anybody out there up

Re: [Tutor] how do I make my code better?

2014-08-18 Thread Danny Yoo
Hello, Often, when you're writing code that looks roughly like: ### a_1 = ... a_2 = ... ... a_n = ... if ... a_1: ... if ... a_2: ... ... if ... a_n: ... ### then your program is crying out to use a table. The idea is to use a list to structure th

Re: [Tutor] how do I make my code better?

2014-08-18 Thread Alan Gauld
On 18/08/14 20:18, keith papa wrote: Am a newbie and I decided to code a program that you input a round number and spit out the list of names or other information? how do I make this better? how do I make the code repeat itself, so I can keep asking the program to print out list of names for a v