how to install python
how to install python
i. Online Setup
ii. Physical Setup
Online Setup
The online setup simply means that for you to run python, you have to run it from your web
browser. It also means that you will need an internet connection to run it. To setup python online,
do the following steps:
ii. Click the button “Start building”, highlighted in the image above
After doing this the following screen should pop up
You can then proceed to sign up using your Gmail account by clicking “Continue with Google”
(highlighted in red in the image above ) or to create a unique email address and password with
“Continue with email” (highlighted in green in the image above)
The second choice is your software creation experience. It is assumed that you are all beginners
so pick the option “Beginner” highlighted in green. If this is not the case for you, feel free to pick
any other choice that best matches your programming experience.
The last choice is “where do you plan to use Replit?”. For now, this account is for personal use
so select the option that is highlighted in blue. Your final screen should look like the following
image.
iv. Now after filling the options click on “Start building” as highlighted in the image above.
v. Next you will see a screen asking you for a project you wish to build.
The screen is shown below
Select Python.
vi. Edit Project name and details
Once you have selected python, another screen pops up showing the details of the python project
it is about to create for you
The name of the project is shown in the part highlighted in orange. Feel free to edit it to whatever
name you like.
The description of the project is shown in the part highlighted in green. Feel free to edit it to
whatever you feel like.
The following screen should pop up after you click on the option
Click “Done”.
Now you can start writing code in the code editor section as shown in the image below
Now click on “Run” as marked by the orange arrow in the image above. You will get the
following result.
The output of the program is shown in the part that is highlighted with the orange box. The text
“I am a boy” displays in that region.
In Replit, when you click “Run” only the file “main.py” is run. So, if you wish to run codes in
another file, you will have to create a new project.
Click on the button “Create” as marked by the orange arrow shown above. The following screen
pops up.
Once again select Python as shown in by the orange arrow in the image above. You should see
the following screen
Now you can change the name of the new project by editing the items that are highlighted by the
green arrow in the image above. A sample is as follows
Now after that click the option “Create Repl”. After this, the following screen appears just like
last time.