[Twisted-Python] question about twisted conch (SSH) and wxPython
exarkun at divmod.com
Mon Jul 18 20:25:45 EDT 2005
On Tue, 19 Jul 2005 09:37:14 +1000, Astan Chee <stanc at al.com.au> wrote:
>Thanks for the help.
>Another thing I was wondering about is if any of the twisted components
>supports rsh? or is just using the` rsh` command easiest?
>Also where can I find detailed documentation on twisted classes and its
>method? or is diving into the code my best way?
rsh uses the rlogin protocol. The rlogin protocol is immensely trivial. A Twisted implementation would probably be less than 10 lines, but one is not included with Twisted. Implementing it would probably be easier than shelling out to an rsh(1) binary. Twisted *does* include an SSH implementation, though. In most cases that is vastly preferable.
Twisted uses epydoc markup extensively. The resulting automatically generated documentation is available at <http://twistedmatrix.com/documents/current/api/>.
Diving into the source is also a really good way to become familiar with what Twisted can do. This can also give you a sense of the level of completion and polish a particular area of Twisted has, which is not always readily apparent from the API documentation.
More information about the Twisted-Python