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

  • Get control of your email attachments. Connect all your Gmail accounts and in less than 2 minutes, Dokkio will automatically organize your file attachments. You can also connect Dokkio to Drive, Dropbox, and Slack. Sign up for free.

View
 

FAQ

Page history last edited by PBworks 12 years, 9 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.