View Single Post
Old 03-14-2012, 04:18 AM   PM User | #2
fatecaresx13
New Coder

 
Join Date: Jan 2010
Posts: 29
Thanks: 0
Thanked 2 Times in 2 Posts
fatecaresx13 is an unknown quantity at this point
This is an excellent question. I tend to use the official python documentation but examples are not often found.

http://docs.python.org/

Some good hints for you might be to use the command line and try to 'feel' around. I actually found google videos about python have been the very best. As a matter of fact what I'm going to share with you I found right on one of those videos.

When you find something you want to try in the docs (or google finds your way to some object or command) try it out on the command line:

Code:
python
Import anything necessary:

Code:
import module
Then use the commands 'help' and 'dir' to see what you can do:

Code:
dir(module)
You can even do subportions too:

Code:
dir(module.part
And the same can be done with help for the docs:

Code:
help(module.command)
You should always feel it out yourself. I find hands on is the best way to learn.

-Anthony
__________________
Nerd Stuff (code, rrdtool, monitoring, etc):

blog.anthonyhurst.com
fatecaresx13 is offline   Reply With Quote