• Home
  • Twitter Trends
  • HTML & CSS
  • JavaScript
  • React.js
  • Blog

Thecuriouscorp

Thecuriouscorp is a source of amazing articles, free codes, designs, examples, and tutorials about web development. A free resource for web developers.

Python Programming Lab Setup

Python Programming is Fun. To further learn python you have to follow some steps for Python setup. In this post, we will learn how to make an environment where we can learn python and practice it.

You need to understand some basic stuff in order to make this environment. This Python lab setup will help you code in python and run it. Python programs will be run using Python Interpreter.

Python Interpreter

An interpreter is a program that performs instructions written in high-level language like python. Unlike compilers, Interpreters run line by line through the source code. If any error is encountered on any line then it will pause there. Thus it will show the resulted error.

Python programs are run using an interpreter. The Python interpreter is usually present in /usr/local/bin/python3.8 or something similar to this. Although you can manually change the installation path of python3 as you like.

Python3 Setup

As we will be learning Python3, we need to install it. Python is easy to install and setup. Just follow the following steps. You will be then successful in proper installation.

1. Download Python3

python setup

First, you need to install the Python3 package from Python Official website. It is a rather simpler task. In the download section, find the correct variation for Python3. Choose according to the operating system you use. Click the download button and it will start soon.

2. Run Python3 Installer

install python3

After you have downloaded the python3 installer. Run the installer. Choose if you want to do custom installation to custom folder. Then continue the installation. After this is completed you setup will be finished.

3. Confirm Proper Python Setup

confirm python3 installation

we need to confirm that we have properly installed python3. To confirm that python will properly run. Open terminal, and type ‘python’. Then hit enter. If everything is correct you will see something like in the screenshot. This will ensure that Python3 is properly setup.

Choose Text Editor to Write Python Program

text editor for python3

You need a text editor to write a Python program. There are many text editors available. In fact, you can write python program using notepad. But it doesn’t have features like other text editors. Also it can cause indentation problems. So, My advice would be to use a text editor from the following.

  • Sublime
  • Atom
  • Jupyter
  • Notepad++

Also, if you want to run python programs directly without going into cmd prompt or terminal. You can use standalone IDE like Anaconda. Though as a beginner my advice would be to use terminal. After you have learnt your basics. You can go to Anaconda or other IDE.

Another important aspect of using terminal is that you need to learn your basics. In case you have some problem.

It’s all your choice.

Previous -> 8 Reasons Why Programming is so Boring For You
Next -> How to Run Python Programs Easily

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Important Links

  • Home
  • Blog
  • About Us
  • Disclaimer
  • Privacy Policy
  • DMCA
  • Contact Us

About Us

Thecuriouscorp is a source of amazing articles, free codes, designs, examples, and tutorials about web development. A free resource for web developers.

All Logos and Images are Trademarks of their respective owners. Thecuriouscorp makes no claim on these Trademarks.

Follow Us

Facebook
Pinterest
Twitter

Copyright © 2023 Thecuriouscorp.com

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Got It!”, you consent to the use of ALL the cookies.
Got It!
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT