- Learning NumPy Array
- Ivan Idris
- 146字
- 2021-04-02 10:02:35
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "In this example, we chose numpy-1.8.0-win32-superpack-python2.7.exe
."
A block of code is set as follows:
start = datetime.now() c = pythonsum(size) delta = datetime.now() - start print "The last 2 elements of the sum", c[-2:] print "PythonSum elapsed time in microseconds", delta.microseconds
Any command-line input or output is written as follows:
$ python vectorsum.py 4000
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Click on the Continue button."