![Python Web Scraping Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/240/36700240/b_36700240.jpg)
上QQ阅读APP看书,第一时间看更新
Getting ready
We will exclusively be using Python 3.x, and specifically in my case 3.6.1. While Mac and Linux normally have Python version 2 installed, and Windows systems do not. So it is likely that in any case that Python 3 will need to be installed. You can find references for Python installers at www.python.org.
You can check Python's version with python --version
![](https://epubservercos.yuewen.com/02C97C/19470398001588706/epubprivate/OEBPS/Images/e9039d11-8e50-44c6-8204-3199ae5d7b1e.png?sign=1739161671-CPuiH2CKhJ66DLIEwE5hRMnVsh5yExWS-0-1c900440d5f07eabcf8a55d7d1643466)
pip comes installed with Python 3.x, so we will omit instructions on its installation. Additionally, all command line examples in this book are run on a Mac. For Linux users the commands should be identical. On Windows, there are alternate commands (like dir instead of ls), but these alternatives will not be covered.