Understanding Python Basic Syntax
Python has many similarities to Perl, C, and Java. However, there are some definite differences between the languages. All variables are case-sensitive. Python treats 'number' and 'Number' as separate, unrelated entities.
Python programs can be written using any text editor and should have the extension .py. Python programs do not have a required first or last line, but can be given the location of python as their first line: #!/usr/bin/python and become executable. Otherwise, python programs can be run from a command prompt by typing python file.py. There are no braces {} or semicolons ; in python. It is a very high level language. Instead of braces, blocks are identified by having the same indentation.


























No Comment to " Understanding Python Basic Syntax "