Re: question about class vs class at

2009-04-26 Thread Tim Roberts
grocery_stocker wrote: > >Maybe. I guess I haven't been around python long enough to realize >that there was a difference in 'output' between the old-style class >and new-style class. Also remember that a class can define its own string to print there. What you see is the output of the __repr__

Re: question about class vs class at

2009-04-26 Thread grocery_stocker
On Apr 26, 2:07 pm, Arnaud Delobelle wrote: > grocery_stocker writes: > > When I do pexpect.spawn in the following example, I see > 'pexpect.spawn'> > > > [cdal...@localhost oakland]$ python > > Python 2.4.3 (#1, Oct 1 2006, 18:00:19) > > [GCC 4.1.1 20060928 (Red Hat 4.1.1-28)] on linux2 > > Ty

Re: question about class vs class at

2009-04-26 Thread Arnaud Delobelle
grocery_stocker writes: > When I do pexpect.spawn in the following example, I see 'pexpect.spawn'> > > [cdal...@localhost oakland]$ python > Python 2.4.3 (#1, Oct 1 2006, 18:00:19) > [GCC 4.1.1 20060928 (Red Hat 4.1.1-28)] on linux2 > Type "help", "copyright", "credits" or "license" for more in

question about class vs class at

2009-04-26 Thread grocery_stocker
When I do pexpect.spawn in the following example, I see [cdal...@localhost oakland]$ python Python 2.4.3 (#1, Oct 1 2006, 18:00:19) [GCC 4.1.1 20060928 (Red Hat 4.1.1-28)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pexpect >>> pexpect.spawn >>>