A Python program is composed of a sequence of logical lines, each made up of one or more physical lines. Each physical line may end with a comment. A hash sign (#) that is not inside a string literal begins a comment. All characters after the # and up to the physical line end are part of the comment, and the Python interpreter ignores them. A line containing only whitespace, possibly with a comment, is known as a blank line, and Python totally ignores it. In an interactive interpreter session, you must enter an empty physical line (without any whitespace or comment) to terminate a multiline statement.
Read the Article...
Thursday, October 2, 2008
The Python Language
Posted by
Ramesh
at
7:41:00 AM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment