Re: Problems getting TwistedMatrix

2004-12-07 Thread donnal
I just downloaded it yesterday, and it was very fast. Donnal Walter Arkansas Children's Hospital -- http://mail.python.org/mailman/listinfo/python-list

class attribute to instance attribute

2005-06-30 Thread Donnal Walter
lse) >>> f = Frame() >>> isinstance(f.view, wx.Frame) True To summarize, each subclass has a class attribute "view" that is converted to an instance attribute of the same name at runtime. Is this a common Python idiom? If so, does it have a name? Is there a bett

Re: class attribute to instance attribute

2005-07-01 Thread Donnal Walter
ing so in the __init__() method, either in a separate version method for every different presenter class, or once in the superclass, as I have done. Donnal -- http://mail.python.org/mailman/listinfo/python-list

combining namespaces when importing two modules

2005-08-22 Thread Donnal Walter
;.) Thanks. Best regards, Donnal Walter Arkansas Children's Hospital -- http://mail.python.org/mailman/listinfo/python-list

AsciiDoc 6.0.0

2005-02-07 Thread Donnal Walter
asciidoc(1) command. Lately I've been thinking about using reStructuredText for creating simple web pages. Should I consider AsciiDoc as an alternative, and if so, what are its advantages by comparison? Thanks. Donnal Walter -- http://mail.python.org/mailman/listinfo/python-list

using cmd.exe as a telnet client

2004-12-03 Thread Donnal Walter
telnet client performs option negotiation just fine). Is there a straightforward way of using os.popen() (or os.fork() or os.exec*() or os.wait*()) to connect to the host from Python via the Windows telnet client? Thanks, Donnal Walter Arkansas Children's Hospital -- http://mail.python.or

Re: using cmd.exe as a telnet client

2004-12-06 Thread Donnal Walter
give Grant's idea a whirl, but if I get bogged down there, I will definitely look at Twisted's telnet support. BTW, do you know if Twisted's option negotiation uses a callback function? I might download it just to take a look, even if I don't use it directly. Thanks, Donnal W

Re: using cmd.exe as a telnet client

2004-12-06 Thread Donnal Walter
o do so. I think I will give Grant's idea a whirl, but if I get bogged down there, I will definitely look at Twisted's telnet support. BTW, do you know if Twisted's option negotiation uses a callback function? I might download it just to take a look, even if I don't use it di

Re: using cmd.exe as a telnet client

2004-12-06 Thread Donnal Walter
I think I will give Grant's idea a whirl, but if I get bogged down there, I will definitely look at Twisted's telnet support. BTW, do you know if Twisted's option negotiation uses a callback function? I might download it just to take a look, even if I don't use it directly.

Re: using cmd.exe as a telnet client

2004-12-06 Thread Donnal Walter
ns. Any help is much appreciated. (I've not given up on writing my own funtion for Python's telnetlib, but I'm trying to keep all my options open. Besides, I will probably have other uses for Twisted later.) Donnal Walter Arkansas Children's Hospital -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems getting TwistedMatrix

2004-12-07 Thread Donnal Walter
isted yesterday and had no problem. I don't recall the exact amount of time, but it seemed very fast. Donnal Walter -- http://mail.python.org/mailman/listinfo/python-list

Re: using cmd.exe as a telnet client

2004-12-07 Thread Donnal Walter
e) mytn.read_until("Enter device name?") This function is currently a bit redundant, and I have not yet commented out each option to see what I can get away with and what not, but at least I can now connect without "Connection reset by peer". Thanks to all who replied for