Re: [Tutor] subclass question

2009-12-20 Thread Rich Lovely
2009/12/20 David Perlman : > If I make a subclass of a built-in class, like this: > > class mylist(list): >    def __init__(self): >        list.__init__(self) > > Then it is valid for me to do this: > x=mylist() x.hello=3 > > But I can't do this: > y=list() y.hello=3 > Tra

[Tutor] A Python Pastebin where scripts can be run

2009-12-20 Thread Richard D. Moores
A couple of days ago I had a link to a Python Pastebin where scripts can be run, but I failed to bookmark it. Of course, I've Googled for it, and searched my Firefox history, but have failed to find it. I'm hoping some Tutor could post the link. Thanks, Dick Moores ___

Re: [Tutor] A Python Pastebin where scripts can be run

2009-12-20 Thread Rich Lovely
python.codepad.org is the one I prefer. 2009/12/20 Richard D. Moores : > A couple of days ago I had a link to a Python Pastebin where scripts > can be run, but I failed to bookmark it. Of course, I've Googled for > it, and searched my Firefox history, but have failed to find it. I'm > hoping some

Re: [Tutor] A Python Pastebin where scripts can be run

2009-12-20 Thread Richard D. Moores
On Sun, Dec 20, 2009 at 02:45, Rich Lovely wrote: > python.codepad.org is the one I prefer. That's it! Thank you. Dick Moores ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinf

[Tutor] running function program

2009-12-20 Thread Richard Hultgren
Hello, when i try to run this (see below) i get message: socket error: no connection could be made because the target maching actively refused it, and, idle subprocess didn't make connection.  either idle can't start a subprocess or personal firewall software is blocking the connection. def mult

Re: [Tutor] running function program

2009-12-20 Thread Lie Ryan
On 12/20/2009 11:53 PM, Richard Hultgren wrote: Hello, when i try to run this (see below) i get message: socket error: no connection could be made because the target maching actively refused it, and, idle subprocess didn't make connection. either idle can't start a subprocess or personal firewall

Re: [Tutor] how to see a terminal window showing progress of os.system

2009-12-20 Thread pedro
On 2009-12-17 20:02:03 -0500, "Alan Gauld" said: "pedro" wrote Hi I am sending commands to the command line using python's os.system. Is there a way to see a terminal window showing the progress of os.system as if you had just run the command from a normal terminal window? As it is now it