I am confused when finding some specific method in Python documentation. There are so many materials provided online , but how can I find what I want? I just want to find some codes of some methods ,but it takes too long time to find them ,can someone give me some help?
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
mmm try this link http://docs.python.org/2/tutorial/datastructures.html#dictionaries
Can you mention a few of the methods you want to learn about? Depending on which ones they are, I bet some of us might have good specific resources in mind? Or maybe we could even custom-make some examples for you!
i find the help file that was installed with the program (i am using windows) much easier to use than the online help. also, you might want to just bite-the-bullet and read the entire tutorial in the python documentation - maybe even several times as time goes on.
Not the answer you are looking for? Search for more explanations.
Is pretty good for python 2.5 as a concise reference.
Ganko15's link has lots of info and is the authoritative source, but it's not the easiest read. Shawnf's link is a good cheat sheet. It doesn't explain in language that's especially simple, but batman should still check it out.
If you want something that provides clearer explanation, you might enjoy this:
You don't have to read it like a book because it has a great table of contents AND index, so you can jump quickly to dictionary methods, for example. And one of the authors, Jeff Elkner, is a dedicated educator and thoughtful guy. (The others might be, too, I just haven't met them yet!) :)
I've found that the time it take to find what you're looking for depends a lot on your experience as a programmer. I always do a Google search first. Sometimes, I get lucky and it shows up right there on the search page. Most of the times, I've had to search forums and actually read codes written by others. Reading other people's codes is the hardest skill to learn, but the payoff is the huge. I rarely use documentations. I only read the ones that are assigned as extra resources.
Because I am a green hand in programming, so I am not skilled at finding those methods,but thank you for your helps,because I can have more chances to try and with your help I can make less mistakes, so I will try both of the materials provided above and find an effective one for me.THANKS