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

  • Social distancing? Try a better way to work remotely on your online files. Dokkio, a new product from PBworks, can help your team find, organize, and collaborate on your Drive, Gmail, Dropbox, Box, and Slack files. Sign up for free.

View
 

FAQ

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