Home
Products
Download
Tutorials
Web Ring/Links
Contact
|
Introduction
This
tutorial explains the Python's syntax by examples. It makes to help
people who already know another programation language and does not need
to learn the base programation rules.
Table of contents The Interpreter Comment Variables overview Integer Variable Floating Variable String variable List variable Special variable _ (Underscore) Basic Operations on variables Assign several variables in the same time Empty list creation Basic operations Basic operations in abbreviated syntax Strings operations List Operations Replace element(s) Remove element(s) Add or concatenate elements Block iterative or block conditional Conditions Non boolean conditions Boolean conditions while if elif else for Loop management continue break else Special Commands pass
Function Predefined len() range() split() splitlines() Create a function Default value for function's arguments Special Case–a list with a default value Function call Get the function's documentation Files functions open() close() readline() readlines() write() writelines() flush()
|
|