上QQ阅读APP看书,第一时间看更新
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Any attempt to run the code that has such issues will immediately cause the interpreter to fail, raising a SyntaxError exception."
A block of code is set as follows:
print("hello world") print "goodbye python2"
Any command-line input or output is written as follows:
$ python3 script.py
Warnings or important notes appear like this.
Tips and tricks appear like this.