$ pydoc -g. I'm a newbie programming in python, command not working
I'm using IDLE to learn to program in Python on my mac (IDLE 2.7.1, OS 10.4.11). The book I'm using instructs me to enter this in the command line: $ pydoc -g
When I type that into IDLE, it says there is a syntax error with the $ symbol.
I'm sure there is a simple answer, but I'm lost at the moment. Thanks for your help.
667 mHz G4 titanium laptop, Mac OS X (10.4.11), running Python 2.7.1