Python completes Zhihu column to TXT

Time:2021-7-27

development tool

Python version:3.6.4

Related modules:

Pdfkit module;

Argparse module;

Requests module;

BS module;

And some Python built-in modules.

Related documents

WeChat official account:Python Engineering, reply:Zhihu column, you can get

Other tools:

wkhtmltopdf

Environment construction

Python environment:

Install Python and add it to the environment variable. PIP can install the relevant modules required.

Wkhtmltopdf environment:

First download the installation package of the software on the official website and install the software. The software download address is:

https://wkhtmltopdf.org/downl…

For example, I downloaded the version shown in the red box below:

Python completes Zhihu column to TXT

After installation, add the bin folder under the software installation path to the environment variable, for example:

Python completes Zhihu column to TXT

Recommended Today

A detailed explanation of the differences between Perl and strawberry Perl and ActivePerl

Perl is the abbreviation of practical extraction and report language “practical report extraction language”. Application of activestateperl and strawberry PERL on Windows platformcompiler。 Perl   The relationship between the latter two is that C language and Linux system have their own GCC. The biggest difference between activestate Perl and strawberry Perl is that strawberry Perl […]