INTRODUCTION TO PYTHON
WHAT IS PYTHON?
Python is the world's fastest-growing and most popular programming language not just amongst software engineers, but also amongst mathematicians, data analysts, scientists, accountants, network engineers. It is an interpreted, high-level and general-purpose programming language.
Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance
Python is an interpreted language. A language can be interpreted or compiled. interpreter checks the program line by line and compiles means it check the whole program and then shows an error if occurs. we can easily club python with other languages like c,c++, java, etc
It is used for:
web development (server-side),
software development,
mathematics,
system scripting.
History of python
Python was conceived in the late 1980s by Guido van Rossum at Centrum Wiskunde & Informatica (CWI) in the Netherlands as a successor to ABC programming language, which was inspired by SETL, capable of exception handling and interfacing with the Amoeba operating system. Its implementation began in December 1989.
Why it is called python?
When he began implementing Python, Guido van Rossum was also reading the published scripts from “Monty Python's Flying Circus”, a BBC comedy series from the 1970s. Van Rossum thought he needed a name that was short, unique, and slightly mysterious, so he decided to call the language Python.
Features of python
- easy to code , read and maintain
- free and open-source
- database support
- object-oriented
- GUI support
- scalable language
- portable language (can be run on any platform)
- integrated language
- interpreted language
- cross-platform language
- embeddable language
- large standard library
- dynamically typed (type for the variable is at runtime)
These are some advantages of python compare to other programming languages
- solve complex problems in less time with fewer lines of code
- it is a high-level language so you don't have to worry about complex tasks such as memory management
- it is cross-platform which means you can build and run python applications on Window, Mac, and Linux
- it has a huge community so whenever you get stuck, there is someone out there to help
- it has a large ecosystem of libraries, frameworks, and tools
EXAMPLE:
How to learn Python effectively and quickly?
- First things first: Learn the basic syntax
- Loops, if/else statements
- Strings
- Data structures (lists, tuples, and dictionaries)
- File operations, and exceptions
- Packages
- Work on Projects, Create own projects and work harder
Install python
- after installation go to the command prompt and type python --version and check the version on your device
Comments
Post a Comment