Python

 

This tutorial is made to help a student to find the best resources to learn Python.

 

Why learn Python ?

Python is one of the most trending programming languages at the present time. Learning Python isn't generally so hard as learning some other procedural language, Python is a popular and versatile programming language known for its simplicity and readability. For instance, Prejava provides tutorials on almost all the basic, medium, and advanced topics of all programming languages, including Python. You can find different tutorials for different frequently asked questions by most beginners and programmers. To write and execute code in python, we first need to install Python on our system.

 

How to install Python ?

Installing Python on Windows takes a series of few easy steps.

 

To install Python on Windows visit the below link:

To ensure if Python is succesfully installed on your system. Follow the given steps:

  • Open the command prompt.
  • Type "python --version" and press enter.
  • The version of the python which you have installed will be displayed if the python is successfully installed on your windows.

Pip (Package Installer Python) is a powerful package management system for Python software packages. Thus, make sure that you have it installed.

To verify if pip was installed, follow the given steps −

  • Open the command prompt.
  • Enter "pip -V" to check if pip was installed.
  • The following output appears if pip is installed successfully.

Bingo..!! Python is successfully installed on your computer. 

 

Running Python Code:-

  • Open a text editor or an integrated development environment (IDE) of your choice. Popular choices include Visual Studio Code, PyCharm, and IDLE.
  • Create a new file and save it with a .py extension, for example, my_script.py.
  • Write your Python code in the file.

 

Related Articles

post a comment