官术网_书友最值得收藏!

  • Python Social Media Analytics
  • Siddhartha Chatterjee Michal Krystyanczuk
  • 191字
  • 2021-07-15 17:24:48

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Let's first create a project called tutorial."

A block of code is set as follows:

#import packages into the project 
from bs4 import BeautifulSoup 
from urllib.request import urlopen 
import pandas as pd

Any command-line input or output is written as follows:

mkdir tutorial
cd tutorial
scrapy startproject tutorial

New terms and important words are shown in bold.

Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "On a forum, usually the depth of pages is between three and five due to the standard structure such as Topics | Conversations | Threads, which means the spider usually has to travel three to five levels of depth to actually reach the conversational data."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 江门市| 宕昌县| 东宁县| 南宫市| 马山县| 长子县| 商河县| 从江县| 朝阳县| 神池县| 长岭县| 宜宾市| 那曲县| 峨山| 芮城县| 克拉玛依市| 南溪县| 红桥区| 德昌县| 卢氏县| 晋州市| 太白县| 宣恩县| 德州市| 安龙县| 镇坪县| 河西区| 塘沽区| 麻栗坡县| 贞丰县| 洪湖市| 宜城市| 濮阳县| 丹阳市| 绥滨县| 崇文区| 台南县| 勐海县| 曲靖市| 大邑县| 肇州县|