0 0 1
default
Jean-Francois Pieronne - 5 years ago 2014-10-20 18:10:40
jf.pieronne@laposte.net
Initial version of ptd3.py
1 file changed with 7 insertions and 0 deletions:
↑ Collapse Diff ↑
 
new file 100755
1
 
from vms.starlet.ptdlib import Ptd
2
 

	
3
 
ptd = Ptd()
4
 
ptd.read_until_prompt()
5
 

	
6
 
print ptd.writeln('show system'),
7
 
print ptd.read_until([' CUR ', ptd.prompt])[3][-1]
0 comments (0 inline, 0 general)