Re: [Tutor] A few Python Mysteries

2011-12-20 Thread James Reynolds
On Tue, Dec 20, 2011 at 9:32 PM, Wayne Watson wrote: > I changed Python25 to Python27, and rebooted. I got the same two dll msgs > again. > > > On 12/19/2011 7:33 PM, Wayne Watson wrote: > >> It became apparent during the other part of this thread that I had not >> uninstalled Python 2.7, as I th

Re: [Tutor] A few Python Mysteries

2011-12-20 Thread Wayne Watson
I changed Python25 to Python27, and rebooted. I got the same two dll msgs again. On 12/19/2011 7:33 PM, Wayne Watson wrote: It became apparent during the other part of this thread that I had not uninstalled Python 2.7, as I thought I had. As pointed out in the PATH discussion (James R.), the

[Tutor] request for guidance on goertzel algorithm for DTMF detection

2011-12-20 Thread Ganesh Borse
Dear Tutors, I was studyin the two python implementations of geortzel algo for DTMF detection: http://www.black-aura.com/blog/2011/12/10/python-implementation-of-the-goertzel-algorithm-dtmf-decoding/ . http://johnetherton.com/projects/pys60-dtmf-detector/ However, I found that both of these hav

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

2011-12-20 Thread Alan Gauld
On 20/12/11 18:10, Homme, James wrote: Hi Jerry, Thank you. This reminds me of single dimension arrays in VBScript. You are absolutely right, tuples are like read-only arrays in VB. We have writeable arrays in python too but we call them something else :-) BTW The list prefers bottom posting t

[Tutor] Threads and Signals

2011-12-20 Thread Andrew Heagle
Hi, I am testing out some stuff with threads and signals. This is just a prototype of how I want to incorporate it into my main script. I figured out how to "catch" signals for SIGUSR1 to output what all the thread children are "working" on. The problem I have is if in terminalA I run my scrip

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

2011-12-20 Thread Homme, James
Hi Jerry, Thank you. This reminds me of single dimension arrays in VBScript. Note that I said Reminds. I'm trying to pretend I don't know about other languages, so I can give myself less learning stress. thanks. Jim -Original Message- From: tutor-bounces+james.homme=highmark@python

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

2011-12-20 Thread Jerry Hill
On Tue, Dec 20, 2011 at 12:31 PM, Homme, James wrote: > So far, the data types this little book has talked about are strings and > numbers. ... > return jelly_beans, jars, crates ... > # It returns three things in parentheses, which, I guess is one group of > things. I thought it would complain.

[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] PYTHONPATH (Mac OS X)

2011-12-20 Thread Alan Gauld
On 20/12/11 01:33, Stayvoid wrote: I want to have a possibility to import modules from the folder, which is not included in the load path. The code and error below has nothing to do with importing modules or the PYTHONPATH value. module.py - def testfunc(name): file = open(name)