Re: Baby Steps, optionDB

2007-08-23 Thread Carsten Haese
On Thu, 2007-08-23 at 14:38 +, W. Watson wrote: > The ultimate in conciseness was APL. I think you are mistaking terseness for conciseness. -- Carsten Haese http://informixdb.sourceforge.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Baby Steps, optionDB

2007-08-23 Thread W. Watson
VBasic is the same. Longish. The ultimate in conciseness was APL. Carsten Haese wrote: > On Thu, 2007-08-23 at 04:30 -0700, W. Watson wrote: >> I used to program in C++, and there's one thing I've never liked about >> OOP. Too much typing! > > Blame C++, not OOP. In time, you will find that Pyth

Re: Baby Steps, optionDB

2007-08-23 Thread Carsten Haese
On Thu, 2007-08-23 at 04:30 -0700, W. Watson wrote: > I used to program in C++, and there's one thing I've never liked about > OOP. Too much typing! Blame C++, not OOP. In time, you will find that Python's approach to OOP in particular and to programming in general allows you to express your idea

Re: Baby Steps, optionDB

2007-08-23 Thread W. Watson
Thanks. I think I agree about the book comment. I used to dabble with Tcl/Tk many years ago. About a year ago, I sold my only book on it. I thought I'd never need it again! I wonder if Grayson's (e-book on his site) has improved. After spending about 90 minutes with IDLE, I'm not real impressed.

Re: Baby Steps, optionDB

2007-08-23 Thread W. Watson
That got things moving. Thanks. It looks like I have some typos to deal with now. I used to program in C++, and there's one thing I've never liked about OOP. Too much typing! Padraig wrote: > On Aug 23, 4:41 am, "W. Watson" <[EMAIL PROTECTED]> wrote: >> root.option_readfile('optionDB') > > Just

Re: Baby Steps, optionDB

2007-08-23 Thread Padraig
On Aug 23, 4:41 am, "W. Watson" <[EMAIL PROTECTED]> wrote: > root.option_readfile('optionDB') Just leave out the line which tries to read in the non-existent config file... -- http://mail.python.org/mailman/listinfo/python-list

Re: Baby Steps, optionDB

2007-08-22 Thread W. Watson
Don't even know what the file is. I figured the book would have included it in the example. I see no mention of it in the index. Does it go by another name? BartlebyScrivener wrote: > On Aug 22, 10:41 pm, "W. Watson" <[EMAIL PROTECTED]> wrote: > >> clError: couldn't open "optionDB": no such

Re: Baby Steps, optionDB

2007-08-22 Thread BartlebyScrivener
On Aug 22, 10:41 pm, "W. Watson" <[EMAIL PROTECTED]> wrote: > clError: couldn't open "optionDB": no such file or directory Because the file doesn't exist? Did you make an optionDB file? http://tinyurl.com/283o98 -- http://mail.python.org/mailman/listinfo/python-list

Baby Steps, optionDB

2007-08-22 Thread W. Watson
I'm just playing with Python. It's my first outing. The program is below. I thought I'd fuss with numbers, and then get bold and try some Tkinter stuff. I copied the root stuff from a book (Grayson), and get stopped at the optionDB statement. What's wrong? I get clError: couldn't open "opti