| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Work with all your cloud files (Drive, Dropbox, and Slack and Gmail attachments) and documents (Google Docs, Sheets, and Notion) in one place. Try Dokkio (from the makers of PBworks) for free. Now available on the web, Mac, Windows, and as a Chrome extension!

View
 

FAQ

Page history last edited by PBworks 14 years, 2 months ago



Copying objects

Two names referencing the same mutable object. Pointers, references, and how things are different in C++

 

Why list (mutable) cannot be a dict key

 

thread (see Sion Arrowsmith reply)

 

d = {}

k = 1, 2

dk = None

 

Now, if I were to do:

 

k.append(3)

 

what would you expect:

 

d.keys()

 

Optimizing Python code for speed

thread scramble 20MB file: from 70 sec to 2.8 sec

Comments (0)

You don't have permission to comment on this page.