Learning Python - Mark Lutz [613]
factory functions, Factory functions
false and true values, The Meaning of True and False in Python
fieldname, Adding Specific Formatting
file execution, The Programmer’s View
file icon clicks, Clicking File Icons, Other Icon-Click Limitations, Other Icon-Click Limitations
limitations, Other Icon-Click Limitations
file input/output, Python 3.0, Text and Binary Files
file iterators, The Iteration Protocol: File Iterators
file object methods and printing operations, Print Operations
file object type, Files
files, Tuples, Files, and Everything Else, Files, Other File Tools, Files, Opening Files, Using Files, Files in Action, File context managers, Files in Action, Text and binary files in Python 3.0, Storing and parsing Python objects in files, Storing native Python objects with pickle, Storing and parsing packed binary data in files, File context managers, Other File Tools, Text and Binary Files
advanced file methods, Other File Tools
common operations, Files
examples of usage, Files in Action, File context managers, Text and binary files in Python 3.0, Storing and parsing Python objects in files, Storing and parsing packed binary data in files, File context managers
file context managers, File context managers
packed binary data, storing and parsing in files, Storing and parsing packed binary data in files
storing and parsing of Python objects, Storing and parsing Python objects in files
text and binary files, Python 3.0, Text and binary files in Python 3.0
file iterators, Files in Action
mode string argument for opening, Text and Binary Files
opening, Opening Files
pickle, Storing native Python objects with pickle
using, Using Files
filter, Other Iteration Contexts
filter function, Functional Programming Tools: filter and reduce
filter iterator, The map, zip, and filter Iterators
finally clause, try Statement Clauses, The try/finally Statement, The try/finally Statement
(see also try statement)
find method, Type-Specific Methods
fixed-precision floating-point values, Decimal Type
floating point numbers, Numeric Literals
floor division, Python Expression Operators, Division: Classic, Floor, and True
flush method, Using Files
for loop, Iterators: A First Look, The Iteration Protocol: File Iterators, Common Coding Gotchas
iterator, as an example of, Iterators: A First Look
line-by-line iteration with __next__ method, The Iteration Protocol: File Iterators
versus while and range, Common Coding Gotchas
for statement, while and for Loops, for Loops, Nested for loops, General Format, Examples, Tuple assignment in for loops, Python 3.0 extended sequence assignment in for loops, Nested for loops
examples, Examples
extended sequence unpacking in, Python 3.0 extended sequence assignment in for loops
format, General Format
nested for loops, Nested for loops
tuple assignment in, Tuple assignment in for loops
format function, Adding Specific Formatting
format method, The Basics, Adding Specific Formatting
formats.py, Using Command-Line Arguments with __name__
formatspec, Adding Specific Formatting
formatting, Type-Specific Methods
fraction number object type, Other Core Types
Fraction numeric type, Fraction Type, Conversions and mixed types, Conversions and mixed types
conversions, Conversions and mixed types
frameworks, OOP Is About Code Reuse
freeze, Frozen Binaries
from clause (raise statement), Python 3.0 Exception Chaining: raise from
from statement, Module Imports and Reloads, The Grander Module Story: Attributes, Modules and namespaces, The from Statement, The from * Statement, import and from Are Assignments, import and from Equivalence, Potential Pitfalls of the from Statement, When import is required, Potential Pitfalls of the from Statement, Potential Pitfalls of the from Statement, When import is required, Minimizing from * Damage: _X and __all__, from Copies Names but Doesn’t Link, from * Can Obscure the Meaning of Variables, reload May Not Impact from Imports, reload, from, and Interactive Testing
as assignment, import and from Are Assignments
equivalence