Re: [staf-users] class 'org.python.modules.os' has no attribute 'popen'

2009-05-26 Thread David Bender
other jython users on alternatives to popen. David Bender STAF/STAX Development (512-286-5315) IBM Austin Bldg. 903-5B002 Internet: bda...@us.ibm.com Yu Rong Tan 05/25/2009 09:39 PM To cc Subject [staf-users] class 'org.python.modules.os' has no attribute 'popen'

[staf-users] class 'org.python.modules.os' has no attribute 'popen'

2009-05-25 Thread Yu Rong Tan
Hi, Here's subset of my STAX XML code: import os hostname = os.popen("hostname").read().split("\n") dnsString = os.popen("dnsdomainname").read().split("\n") Run it on Lotus Automation which is based on STAF. I got the error below: ===