我试图将2个预编译的正则表达式传递给python的telnetlib expect方法,但是我得到: TypeError: can't use a string pattern on a bytes like示例代码如下:
re_list=[re.compile("login:"\lib\telnetlib.py",
#IMPORTSimport telnetlibimport getpass
user = input("Please EnterRPi_BOT_CONTROLLER.py", line 17, in <module> File "/Library/Frameworks/Python.framework/Versions/