Skip to content
Related Articles

Related Articles

Improve Article
Setup Python in a Local Computer
  • Difficulty Level : Expert
  • Last Updated : 24 Oct, 2020

Let us see how to Setup Python in our Local Computer. We can directly download the latest version of Python from the official website. 

Python From Official Website(https://www.python.org/downloads/)

After that, we need to install it on our local computer. After a successful installation, IDLE(Integrated Development and Learning Environment) will also be installed on our local computer alongside with some of the packages. For simple programs, we can use IDLE. 

Python programs can also be written in a notepad and run from the command prompt. For this, follow the steps:

  1. Open the notepad.
  2. Write the code in it.
  3. Save the file with the .py extension.
  4. Open the terminal/command prompt.
  5. For type in the following command >> py filename.py.
  6. The output will be displayed.

Example: We have created a file named hello.py with the content print(“Hello world”).

For large and complex programs, it is more convenient to use a smart IDE. 



Different IDLE as well as Python Programming Environment

1. Atom (https://atom.io): Atom is a free and open-source text and source code editor for macOS, Linux, and Microsoft Windows with support for plug-ins written in Node.js, and embedded Git Control, developed by GitHub. Atom is a desktop application built using web technologies

Atom Logo

2. PyCharm (https://www.jetbrains.com/pycharm/): PyCharm is an integrated development environment used in computer programming, specifically for the Python language. It is developed by the Czech company JetBrains

PyCharm logo

3. Visual Studio Code (https://code.visualstudio.com): Visual Studio Code is a free source-code editor made by Microsoft for Windows, Linux and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git.

Visual Studio Code

4. Spyder (https://www.spyder-ide.org): Spyder is an open-source cross-platform integrated development environment for scientific programming in the Python language.

Spyder 

5. Wing IDE (https://wingware.com): The Wing Python IDE family of integrated development environments from Wingware was created specifically for the Python programming language.

WinG IDE

6. Thonny (https://thonny.org): Thonny is an integrated development environment for Python that is designed for beginners. It supports different ways of stepping through the code, step-by-step expression evaluation, detailed visualization of the call stack and a mode for explaining the concepts of references and heap

Thonny 

We can also use online IDEs. Online IDEs are helpful to code from remote locations on a different computer, they are also used if our computer does not have space to download software. We can also share our code online with others.

 Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.  

To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course

My Personal Notes arrow_drop_up
Recommended Articles
Page :