Re: [Tutor] The In Operator

2006-08-15 Thread Steve Haley
cent version, I looked briefly at some of the exchanges on the ESRI site and decided it looked a little tricky at best.  I think I might wait for ArcView 9.2 and see what it ships with.   Thanks again, Steve  On 7/27/06, Kent Johnson <[EMAIL PROTECTED]> wrote: Steve Haley wrote:> Finally

[Tutor] In Operator

2006-07-26 Thread Steve Haley
Thanks for the help on the in operator, John.  In answer to your question I did a little programming a long time ago in sequential languages such as dBase, FoxBase, Clipper, and a little C.  Then Windows came along, my job changed, and I didn't really keep up in the event driven environment.  I hav

[Tutor] The In Operator

2006-07-26 Thread Steve Haley
I am trying to make my way through a book on Python ("Python Ptogramming for the Absolute Beginner") and have run into some code in the book (and on the author's accompanying CD) that won't work.  I suspect that it might be because my version of Python is too old ( 2.1).   The code includes the in

[Tutor] Finding the Index of a member of a Tuple

2006-01-11 Thread Steve Haley
Hello everyone,   I need to do something very simple but I'm having trouble finding the way to do it - at least easily.  I have created a tuple and now need to find the position of individual members of that tuple.  Specifically, the tuple is something like: words = ("you", "me", "us", "we", "and",

[Tutor] Another Quick Question - Thanks again

2005-11-14 Thread Steve Haley
Thanks to all those who responded to my plea regarding how to make my laptop’s bell ring with the print “\a” command.  The secret turned out to be, as a couple of you suggested, that it won’t work in the Python window environment.  It works fine if I just double click the .py file in Window

[Tutor] Another Quick Question

2005-11-13 Thread Steve Haley
Folks,   I’m one of the people new to Python who has started going through a beginner’s book to learn the basics of the language (“Python Programming for the Absolute Beginner”).  In the second chapter the author (Michael Dawson) illustrates the use of escape sequences with, among other t

[Tutor] Thanks for the Help on the Quick Question

2005-10-23 Thread Steve Haley
Kent and Todd,   Thanks for the help on my quick question regarding readlines.  That helped a lot.   - Steve ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] A Really Quick Question

2005-10-22 Thread Steve Haley
Folks,   I am running Python 2.1 which ships with ArcView 9.1.  I am going through the 2.1 tutorial and came across readlines().  Simply put it doesn’t seem to be behaving as the tutorial describes.  Specifically, I created a small text file as shown below:   f=open("c:/python21/sfh_mod

[Tutor] Python Shell Not Saved Problem

2005-10-05 Thread Steve Haley
Dear folks,   Just wanted to thank everyone for the help.  I think I know what was going on with that “The buffer for Python Shell is not saved” message I was getting when I tried to run a script.  Apparently you need to open the module before you run the script and also to re-open it eac

[Tutor] Help Needed

2005-10-05 Thread Steve Haley
Hello,   I am trying to learn Python which I am brand new to.  I have run into a problem that I would appreciate help with.   When I am in Python Shell of the IDLE GUI, when I click Edit/Run Script, I am getting a dialog box that is titled “Not saved” and states “The buffer for Python s