python question

R

Robin

how do you acccess a hash element in python 3? It completely changed
from version 2 and earlier, I think.

stop war straight up, direct or indectly,
 
B

Benjamin Kaplan

how do you acccess a hash element in python 3? It completely changed
from version 2 and earlier, I think.

What do you mean by accessing a hash element? Do you mean the hash of
an object? Because that's stayed the same: hash(obj). Do you mean
accessing the values in a dict? Because that's also stayed the same:
dictionary[obj]. Or is it something else that you're looking for?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,898
Members
47,440
Latest member
YoungBorel

Latest Threads

Top