摘要:
之前解析MQTT协议时,需要做一个等分字节流的操作,其中用到了yield关键字,如下: def get_var_length(hstring): m = 1 v = 0 for element in chunks(hstring, 2): temp = int(element, 16) print( 阅读全文
摘要:
使用selenium实现web自动化时链接网页时报错(google chrome): selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Plea 阅读全文