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__
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
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
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
>>>