[Tutor] Help with simple text book example that doesn't work!!!

2010-04-03 Thread Brian Drwecki
Hi all... I am working from the Learning Python 3rd edition published by O'Reily... FYI I am trying to learn Python on my own (not for course credit or anything).. I am a psychologist with very limited programming experience.. I am anal, and this example code doesn't work.. I am using IDLE to do ev

Re: [Tutor] Using TAB in Python IDLE

2010-04-03 Thread Alan Gauld
"kent morris" wrote I am just getting started programing in python and am having a problem with the IDLE interface. When I type in an entry and hit the TAB key to enter a remark, I get a drop down menu of some kind, I don't know what this is for, Neither do I from your description. Can you

Re: [Tutor] Display in a text field using tkinter

2010-04-03 Thread Alan Gauld
"doyin adegoke" wrote I made the changes and the error was still there "print self.favorite.get()" prints the name of the selected database on the console The problem is that you are still calling grid when you create the widget. grid() returns None so all your self.xxx attributes are set

[Tutor] Using TAB in Python IDLE

2010-04-03 Thread kent morris
I am just getting started programing inĀ  python and am having a problem with the IDLE interface. When I type in an entry and hit the TAB key to enter a remark, I get a drop down menu of some kind, I don't know what this is for, I haven't gotten that far. All I want to do is TAB out to enter a co

[Tutor] AUTO: James D Mcclatchey is out of the office. (returning 04/09/2010)

2010-04-03 Thread James D Mcclatchey
I am out of the office until 04/09/2010. I will respond to your message when I return. Note: This is an automated response to your message "Tutor Digest, Vol 74, Issue 6" sent on 4/3/10 1:05:50. This is the only notification you will receive while this person is away. *IMPORTANT NOTICE: This

Re: [Tutor] simple search and replace...

2010-04-03 Thread Lie Ryan
On 04/01/10 06:51, ALAN GAULD wrote: > But if it's fixed patterns you can either do a replace() > in a loop over your patterns: > > for pat in ['PID','OBR',.] > h7string = h7string.replace('\n'+pat, h7string) > > Or even build a regex that does it all in one. > (But the regex could get co

Re: [Tutor] Display in a text field using tkinter

2010-04-03 Thread doyin adegoke
Thanks I made the changes and the error was still there "print self.favorite.get()" prints the name of the selected database on the console From: James Reynolds To: adedoyin adegoke Cc: tutor@python.org Sent: Fri, April 2, 2010 2:26:36 PM Subject: Re: [Tutor