DEV Community

loading...
Cover image for What is Python and what can it be used for?

What is Python and what can it be used for?

jones268 profile image jones268 ・2 min read

One of the most popular and well-paid programming languages to get into is Python. Python is run on a variety of servers and is a widely used programming language.

There are only a few programming languages that one can learn and use to create amazing, complex applications. Many of these languages are not approachable for beginners. Python is a programming language that is easy to learn and its syntax is one of the easiest among programming languages.

What is Python?

Python (sometimes spelled pYthon or Pyton) is a programming language created by Guido van Rossum in 1991. It is known for its clear syntax and readability. As a language intended for both beginners and professionals, Python uses English keywords frequently where other languages use punctuation.

Python is a widely used high-level, general-purpose, interpreted, dynamic programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java.

Python is often used with modules. You can use Python to create desktop apps with PyQt or tkinter, create web apps with Flask or Django and a wide variety of other things

It is also designed to be very approachable. Most constructs are very simple and will feel familiar to anyone who has done any programming in an object-oriented language. Some constructs, like decorators, will seem weird, but the core philosophy is that if you can’t understand how a construct would help you in your everyday coding, then it isn’t worth including.

The most prominent difference between Python and other languages you may have used is that Python is dynamically typed. That means that you do not need to declare the type of a variable in order for it to be used. This may sound strange at first, but the fact is that most real-world code in other languages is dynamically typed one way or another.

Discussion (2)

Collapse
jones268 profile image
jones268 Author

you're right, I've updated the title to match the content better

Forem Open with the Forem app