Introducing Python © Chirag Wazir 2002 Prev   Index   Next

Basic Syntax

Indentation tabs or spaces, maintain consistency!

# comments

\n statement separator

\ statement continuation

; multiple statements on a line

Identifiers [_a-zA-Z][_a-zA-Z0-9]*, starting _ has special meaning

Namespaces