[Tutor] Trying To Debug Code That Runs Arbitrary Function

2010-12-02 Thread Homme, James
Hi, If you can get away with not telling me the answer, but pointing me to where to look for the answer, I'd be grateful. In my Python learning, I am just now starting to understand how to make classes and extend them, so I have a very long way to go. I wrote this code because I wanted to avoid

[Tutor] Python Windows Vista Installation Question

2011-12-09 Thread Homme, James
Hi, Can Python easily be installed on a Windows Vista computer without needing administrative rights to that machine? Thanks. Jim Jim Homme, Usability Services, Phone: 412-544-1810. This e-mail and any attachments to it are confidential and are intended solel

Re: [Tutor] Need Explanation...

2011-12-12 Thread Homme, James
Hi, Alan said: Because app() returns the result of append(). But append() returns None, since it modifies the list in place. This is one of the few features of Python I dislike. It would not have been difficult to make these modifier methods return the thing modified. This style would then allow

Re: [Tutor] Need Explanation...

2011-12-12 Thread Homme, James
Hi Alan, I'm sorry. I'm coming pretty much from Cobol and freaking out about OO, so my questions may not be coming from a familiar place. I think I was referring partly to the idea that, for example, len and open are built in functions, whereas append is part of a list. I just am now to the plac

[Tutor] Tuple: Am I Understanding This Correctly?

2011-12-14 Thread Homme, James
Hi, My learning style likes a lot of words in plain English. Here is some code. Am I explaining how this works correctly? # Make a tuple to simplify putting in the prompts below. # This makes it so that you don't have to type out the whole thing every time you want to use these strings. # The va

[Tutor] Beginner Exercise: Why Didn't I Break It?

2011-12-20 Thread Homme, James
Hi, Please don't give me the answer. Please tell me where to read to find out. So far, the data types this little book has talked about are strings and numbers. The book is here. http://learnpythonthehardway.org/book/ I cut out the parts of the program I definitely understand to focus on this

Re: [Tutor] Beginner Exercise: Why Didn't I Break It?

2011-12-20 Thread Homme, James
e=highmark@python.org [mailto:tutor-bounces+james.homme=highmark@python.org] On Behalf Of Jerry Hill Sent: Tuesday, December 20, 2011 1:00 PM To: tutor@python.org Subject: Re: [Tutor] Beginner Exercise: Why Didn't I Break It? On Tue, Dec 20, 2011 at 12:31 PM, Homme, James wrote: > So f

[Tutor] Guidance About Installing First Python Module

2011-12-22 Thread Homme, James
Hi, This is on Windows XP Professional. Before asking this question, I read the tutorial at PyPi, among other things. By the time I was done attempting to figure out seemingly conflicting documentation about how to get and install Python modules, I attempted to deduce that I should get virtuale

[Tutor] Primitive Chess Clock Program Question

2012-01-03 Thread Homme, James
Hi, So far, I know about raw_input as a way to get something from the keyboard into my program. My question is this. Let's say I am trying to subtract time from a value as though someone is thinking and they want to type in a move. If my program prints a prompt to the screen, while the person is