Index

Numbers

2to3 tool, using for Python conversions, 201

5 vs. 5.0, 13

Symbols

'+ file module, meaning of, 134, 137

== operator, 44

+ (addition) operator, 12

= (assignment) operator, example of, 24

\ (backward slash)

using with pathnames, 130

writing, 130

) (closed round bracket), using with tuples, 29

% conversion specifier, meaning of, 125

@ (decorators), using, 163

/ (division) operator, 12

// (division) operator, 11

" (double quote), using with strings, 17

__ (double underscore), use of, 2021

'' and "" (empty strings), using, 18

\" escape character, 88

\\ escape character, 88

\' escape character, 88

** (exponentiation) operator, 12

// (integer division) operator, 1112

% (mod) function, using with strings, 84

* (multiplication) operator, ...

Get Python: Visual QuickStart Guide, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.