Python - Report
Python - Report
What is Python?
Python is a programming language that is easy to
learn and easy to use.
It’s ideal for beginning programmers, as it
combines a clear, simple syntax with support for
a powerful set of built-in control structures
and data types.
Python is also used by many professional
programmers to write complex software systems.
The python programming environment can be used
interactively.
After starting Python, the prompt(>>>) appears,
indicating that Python is waiting for you to
enter a command.
Once you enter a command, the Python environment
evaluates(interprets) this command and then
displays the result.
This sequence of events is known as the read-
evaluate-print cycle.
Its often more practical to write an entire
Python program. A program is simply a number of
Python commands (also called statements) they
are stored together in a file.
The entire program can then be executed all at
once.
Python is an interpreted, object-oriented, high-
level programming language with dynamic
semantics. Its high-level built in data
structures, combined with dynamic typing and
dynamic binding, makes it very attractive for
Rapid Application Development, as well as for
use as a scripting or glue language to connect
existing components together. Python's simple,
easy to learn syntax emphasizes readability and
therefore reduces the cost of program
maintenance. Python supports modules and
packages, which encourages program modularity
and code reuse. The Python interpreter and the
extensive standard library are available in
source or binary form without charge for all
major platforms, and can be freely distributed.
Javascript
Python's "object-based" subset is roughly
equivalent to JavaScript. Like JavaScript (and
unlike Java), Python supports a programming
style that uses simple functions and variables
without engaging in class definitions. However,
for JavaScript, that's all there is. Python, on
the other hand, supports writing much larger
programs and better code reuse through a true
object-oriented programming style, where classes
and inheritance play an important role.
References
Python.org
Stackoverflow.com
Bradley N. Miller | David L. Ranum’s The Python
Programming Language Book