Skip to Content
Python Pocket Reference, 3rd Edition
book

Python Pocket Reference, 3rd Edition

by Mark Lutz
February 2005
Intermediate to advanced
160 pages
4h 45m
English
O'Reilly Media, Inc.
Content preview from Python Pocket Reference, 3rd Edition
144
|
Index
O
object namespaces, 54
object persistence
modules, 116–119
object( ), 74
oct( ), 74
octdigits string module
constant, 92
OOP (Object-Oriented
Programming), 56–58
open( ), 74, 99
operating system, services
interface (see os module)
operations, 7–11
Boolean, 7
comparison, 7
indexing, 10
mapping, 9
numeric, 9
sequence, 8–11
operator overloading
methods, 59–67
operators, 6–8
precedence of, 6
options, command-line, 2–5
ord( ), 75
os module, 93–109
administrative tools, 93
environment tools, 97
file descriptor tools, 98–100
file pathname tools, 100–103
portability constants, 94
process control, 103–106
shell commands, 95
os.path module, 107–109
OSError exception, 80
output files, 30
OverflowError exception, 81
overloading methods, 59
(see also methods)
P
package imports, 48
paramstyle, 131
pardir, 94
pass statement, 42
path, 88
path (os module), 94
pathsep, 95
pattern object, 112
PendingDeprecationWarning
exception, 82
pickle interface, 118
pipe( ), 100, 105
platform, 88
plock( ), 105
popen( ) shell command, 96
popen2( ) shell command, 96
popen3( ) shell command, 96
popen4( ) shell command, 97
poplib, 125
portability constants (os
module), 94
pow( ), 75
precedence of operators, 6
prefix, 88
print statement, 40
printable string module
constant, 93
process control, 103–106
programming rules, 35
property( ), 75
ps1, 89
ps2, 89
pseudo-private attributes, 58
punctuation string module
constant, 93
putenv( ), 97
Python, 1
general rules, 35
Index
|
145
python command ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Python Pocket Reference, 5th Edition

Python Pocket Reference, 5th Edition

Mark Lutz
Python Developer's Handbook

Python Developer's Handbook

André Dos Santos Lessa

Publisher Resources

ISBN: 9780596802042Catalog PageErrata