The import requests
The from bs4 import BeautifulSoup
The import OS
Target='https://www.biqukan.com/1_1094/5403177.html'
The req=requests. Get (url=target)
The req. Encoding="GBK"
HTML=the req. Text
Print (the req. Text)
Run after the content of the show is such a
But will the req. Text saved to a file, open it for is complete
What's the problem, how to modify the
The same program compiled using subline run there is no such problem, this how to solve,
CodePudding user response:
Adjust the pycharm system configuration inside the output characters in lengthCodePudding user response:
Should not be the problem, because I will be the req. Save the text to TXT file, then open the file to read the information, display to the control bar is complete