Tutorials  Articles  Notifications  Login  Signup

Introduction Understanding Python Programming Language


Python - Understanding Python Programming Language





What is Python?

Python is a widely used general purpose programming language that was created by Guido van Rossum and released in 1991.

Python is used for:

  • Writing server side of websites
  • Developing desktop apps
  • Building AI
  • Automating tasks on a computer
  • Software testing
  • and many more...

What can you do after learning Python ?

  • Python can be used to build web applications that run on servers.
  • Python can work together with other software to make tasks easier.
  • Python can connect to and manage databases. It can also read and change files.
  • Python has vast amount of good libraries for handling big amounts of data and doing complex math.
  • Python is flexible and can be used for quickly testing ideas or building full-fledged software.

Salient features of Python:

  • Python is cross platform and it works on different computer systems like Windows, Mac, Linux, and Raspberry Pi.
  • Python has a simple way of writing code that is similar to everyday English.
  • Python lets you write programs with fewer lines than other programming languages.
  • Python can run code right away, so you can see results quickly.
  • Python can be used in different ways, depending on how you want to write your code.

Python 3:

The newest major version of Python is Python 3, and you'll learn this version in this tutorial. FYI, Python 2 is still used by some people, even though it's not getting new features.

IDE:

You can use IDE of your choice to write Python. Most popular ones are VS code and PyCharm. You can also use Netbeans, or Eclipse. IDEs are helpful when working on bigger projects which has many Python files. They provide helpful auto completion suggestions, type hints and many more.

Python syntax:

  • Python doesn't use braces {} for defining blocks of code.
  • Python uses new lines to show the end of a command, instead of using special characters like semicolons or parentheses.
  • Python uses spaces and indentation to organize code, like loops, functions, and classes, instead of using curly brackets like other programming languages.

Hello world:

As the ritual of learning any new tech, you can print hello world using python with below code:

print("Hello world")

 


No problems available for this topic.




HackerFriend Logo

Join the community of 1 Lakh+ Developers

Create a free account and get access to tutorials, jobs, hackathons, developer events and neatly written articles.


Create a free account