What Is Python Programming?
Python
is a programming language that embodies many of the best practices and
intentions of other programming languages that have been created and refined
during the last two decades.
❑
Python is interpreted, which makes it easy to test programs and to use
interactively.
❑
Python is object-oriented, which enables you to leverage the work of other
programmers and share your own work with the community at large.
❑
Python is open-source software, so you may use it and deploy it without being
concerned about a single company that owns it one day going out of business or
otherwise making the language unavailable to you.
❑
Python is small; it is a simple language that can be explained to a programmer
in a very short time and can be taught to a new programmer without having to
worry about the innumerable special cases that occur with more complex and
involved languages.
❑
Python is extensible; it comes with a set of modules that act as tools that
build on the language. Python can also be extended with libraries that come
from other languages such as C. Python makes this integration simple.
❑
Python is familiar; it incorporates many language features from other languages
in a way that makes it friendly to use if you are already familiar with the languages
to which it is similar, such as Java, C, or Perl. At the same time, these
concepts that Python has in common with other languages makes it possible to
move to these other languages with confidence.
The Features (Benefits) of Python
Python’s
benefits are at least twofold: to the person programming in Python and to the
user of programs written in Python. Some of the benefits to the programmer are
as follows:
❑
Consistency — Python is maintained by a loose organization of people, but the
language itself is changed slowly and with the goal of not breaking anything
within the same major version series (that is, 2.3 to 2.4 will have a minimal
impact on existing programs).
❑
Scalability — Projects written in Python have been proven to scale to very
large projects as both the primary language and an auxiliary language.
❑
Flexibility — Python can be used to work with libraries and programs written in
other programming languages so that its interpreter can be used with other
languages in a manner that almost always provides more convenience than the
language in which the library or program was written.
❑
Multiple cooperating implementations— There is more than one Python. Different
implementations enable Python to be specialized for special situations or
problems in ways that a onesize-fits-all approach doesn’t allow.
❑
Interactive interpreter— Python provides an environment that can be used to
interact with a program while it is running, which enables programs to be
tested, and their behavior changed, without having to have an extended cycle in
which the application is rebuilt to test theories.
The
advantages for people who use code written in Python come naturally from the
features that make it so useful to programmers:
❑
Maintainability — Python’s syntax and the structure that the language provides
makes it easier to maintain and, thus, easier for users to make changes and for
application programmers to respond to the needs of their clients.
❑
Cross-platform— Python exists on many hardware and software platforms, making
applications and tools written in Python more durable to changes in a client
environment.
❑ Easy to implement — When a product is written in Python, the entire product, including the Python interpreter, can be included in a single area of the system. This allows the release to be better controlled and the stability of the product to rely less on the system it’s installed.




0 Comments