Answer
The Command Line window is deprecated in ArcGIS 10, and the Python window takes its place. The syntax used is exactly the same in both.
The Python Window can be accessed from the standard toolbar in ArcMap.
Access to The Python Window in ArcMap