RE: [scripting:python] external access to XSI
| Date : Wed, 3 Jan 2007 08:36:07 -0000 |
| To : <XSI(at)Softimage.COM> |
| From : "Kim Aldis" <XSI(at)kim-aldis.co.uk> |
| Subject : RE: [scripting:python] external access to XSI |
|
Expect, which this is but using Python instead of the horrible
Tcl, is pure brilliance but it only handles keyboard input, not graphical. It
was great because it would cope quite happily with things like FTP that you
couldn’t drive using pipes and input redirect. Last year when I was desperately flailing around for
something to renderfarm Vue that would actually work, I found quite a few
quite neat things for more general gui input. I’ve lost the links now but
I think there were at least a couple for Perl and one from Microsoft that
looked most interesting. The grand-daddy of them all, harping back to early Mac
days, is Quickkeys from cesoft. From:
owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Steven
Caron so i was talking with a guy at imageworks a few months back
and he was telling me about some python module they were using to control houdini
and maya. then this thread came up... then the mention of XSIServer example in
C#, then kim's xsi-blog post about how to do it in python... Pexpect is a pure Python module for spawning child applications; controlling
them; and responding to expected patterns in their output. Pexpect works like
Don Libes' Expect. Pexpect allows your script to spawn a child application and
control it as if a human were typing commands. Pexpect can be used for automating interactive applications such as ssh,
ftp, passwd, telnet, etc. It can be used to a automate setup scripts for
duplicating software package installations on different servers. It can be used
for automated software testing. Pexpect is in the spirit of Don Libes' Expect,
but Pexpect is pure Python. Unlike other Expect-like modules for Python,
Pexpect does not require TCL or Expect nor does it require C extensions to be
compiled. It should work on any platform that supports the standard Python pty
module. The Pexpect interface was designed to be easy to use."
On 12/29/06, Joey Ponthieux
< j.g.ponthieux(at)larc.nasa.gov>
wrote: Yes, I've got experience with this. A couple of years ago we
were |
- References:
- Re: [scripting:python] external access to XSI
- From: "Steven Caron" <carons(at)gmail.com>
- Re: [scripting:python] external access to XSI
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: RE: Framebuffer - Unexpected Failure
- Next by Date: RE: Framebuffer - Unexpected Failure
- Previous by Thread: RE: Framebuffer - Unexpected Failure
- Next by Thread: RE: Framebuffer - Unexpected Failure
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |