Install PyMySql template
pip install pymysql
Configure MySQL connection parameters
pymysql.Connect()
host , Post, user, passwd, db, charset
Get cursor() object
c
Install PyMySql template
pip install pymysql
Configure MySQL connection parameters
pymysql.Connect()
host , Post, user, passwd, db, charset
Get cursor() object
c
Today, try to use pycharm+beautifulsoup for crawler testing. What I understand is mainly divided into two types: HTML written by myself and web pages on Baidu. The first one is to read the webpage