python_scripts
python_scripts copied to clipboard
用python3运行报错
Traceback (most recent call last): File "crawler.py", line 56, in parse_url_to_html f.write(html) TypeError: a bytes-like object is required, not 'str'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "crawler.py", line 119, in
sudo apt-get install tk-dev python-tk