Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Arh I see your issue, you need to add a “b”prefix to the search strings inside the read_until methods. Then Python treats those strings as bytes constants.
I hear you, when I did the PRNE course back in the day it was the same, and I did the last lab over ten times as my code would not validate correctly enabling me to pass the final test.
Yah like ChatGPT, I thought you might be able to screenshot the...
@WeaverJK Honestly the best way to learn is to type it out, find your mistakes and correct these as you go. It why this functionality is build this way in Cisco U. However that said if you to, take a screen shot of the code, copy this into your favou...
Hey @shawn-horne this is a classic Python 2 versus 3 issue. This is because strings were handled as bytes by default in Python 2, but in Python 3, strings are Unicode. Per your errors these should be bytes, not strings.
Your fix is to you need to "en...