Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 60 lines (59 sloc) 1.971 kb

Installing Python

Your First Python Program

mention why from module import * is only allowed at module level

Native Datatypes

Comprehensions

List comprehensions

Set comprehensions

Dictionary comprehensions

Strings

Regular Expressions

Closures & Generators

Classes & Iterators

2nd draft Advanced Iterators

2nd draft Unit Testing

2nd draft Refactoring

1st draft Files

Reading from text files

Opening a file (to read)

Character encoding

File objects

Closing a file

Checking if a file is closed

“with open(…) as file” pattern

Reading data from a file one line at a time

Line-endings

Writing to text files

Opening a file (to write)

Character encoding again

write(), writelines(), .writeable

Handling I/O errors

Binary files

File-like objects

Standard Input, Output, and Error

Further reading

2nd draft XML

1st draft Serializing Python Objects

2nd draft HTTP Web Services

1st draft Threading & Multiprocessing

1st draft Packaging Python libraries

2nd draft Case Study: Porting chardet to Python 3

Where to go from here

2nd draft Porting Code to Python 3 with 2to3

2nd draft Special Method Names

Bits to add somewhere

section on tuples

section on dictionary views

several dictionary methods return them they’re dynamic they update when the dictionary changes

Decorators

@unittest.skipUnless(sys.platform.startswith(“win”), “requires Windows”)

Meta

generate HTML

generate PDF

all <pre> blocks without numbers should be marked class=nd

Something went wrong with that request. Please try again.