close
The Wayback Machine - https://web.archive.org/web/20230512160733/https://www.geeksforgeeks.org/setup-python-in-a-local-computer/
Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Setup Python in a Local Computer

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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

BERJAYA

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”).

BERJAYA

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

BERJAYA

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

BERJAYA

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.

BERJAYA

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.

BERJAYA

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.

BERJAYA

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

BERJAYA

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.

My Personal Notes arrow_drop_up
Last Updated : 24 Oct, 2020
Like Article
Save Article
Similar Reads
Related Tutorials