In re: http://mail.python.org/pipermail/python-list/2006-March/371757.html
Dear Peter Maas
The Intel 80xxx architecture is horrible when compared to an IBM S/360, or
S/370, or S/390 or Z machines.
IBM mainframes performance is measured in Millions Of Instructions executed
per second, and n
Oh, that should have been whole number; not while.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] schrieb:
> popS = string.join(pop.readlines())
Why not popS = pop.read()?
> The output from the second popen is:
>
> SNMPv2-SMI::enterprises.9.9.168.1.2.1.1.13.51858 = Hex-STRING: 00 00 00
> 26
>
>
> I need to get the Hex-STRING into the following format: 0.0038
I'm executing the following:
def run(self):
# get ntp_column
pop = os.popen("snmpget -v 1 -c SLI398uwiE " + self.host + "
1.3.6.1.4.1.9.9.168.1.1.9.0\n")
popS = string.join(pop.readlines())
if "Unknown host" in popS:
o