paramiko-expect with Python 2->3 'str' buffer interface issues?

2015-03-23 Thread Nick Ellson
ompt) File "/usr/lib64/python3.4/site-packages/paramikoe.py", line 130, in expect buffer = buffer.replace('\r', '') TypeError: 'str' does not support the buffer interface #!/usr/bin/env python # PyNet Class Exercises by Nick Ellson _

Re: Help with parsing a dict from Vendor's API?

2014-10-15 Thread Nick Ellson
t names running code 4.1.9, or display the serial number of the device with hostname 'foo' That should get me on my way to productive fun :-) Nick Nick Ellson - from iPhone (forgive typos) CCIE #20018 Network Hobbyist "Educating Layer 8, one user at a time." > On Oc

Help with parsing a dict from Vendor's API?

2014-10-15 Thread Nick Ellson
Hello! I have a very specific question related to the output of a Vendors API (Palo Alto Networks "pan.xapi" and how I might farm data from this output. I am new to python, doing well in the tutorials, but this is an automation task at work and I know the rest will be much easier once i get past t