2 python supported features, 1 operators, statements, functions – Rainbow Electronics GM862-GPS User Manual
Page 80

Easy Script
in Python
80000ST10020a Rev.8 - 01/10/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 80 of 100
4.2 Python supported features
Refer to the documents available online such as: Python 1.5.2 Tutorial, Python 1.5.2 Reference
Manual or Python 1.5.2 Library Reference for further details for all the features listed in the paragraphs
below.
4.2.1 Operators, statements, functions
List of supported operators, statements, functions:
• comments
#
•
line joining \
•
operators +, -, *, /, **, %
•
operators <<, >>, &, |, ^, ~
• parentheses
• assignment
•
comparison operators <, >, ==, <=, >=, !=, <>
statement
•
if, elif, else statement
• indentation
•
and, or, not keywords
•
for in statement
• while
statement
• range()
function
•
break and continue statements
• pass
statement
•
functions (without docstrings) (def)
• return
statement
• objects
• object
methods
• del
statement
• modules
• import
statement
• from
statement
• exceptions
•
try except finally statements
• raise
statement
• classes
(class)
• class
instances
• global
statement
•
is, is not tests