0% found this document useful (0 votes)
18 views

Class Notes Python

Rishabh Verma conducted Experiment 1 on installing Python. The steps were to download Python IDLE from the official website, tick boxes to use admin privileges and add Python to the system path during installation. After installation, the path variable was set by adding the path where Python is installed. Python IDEs like IDLE integrate tools for software development like an editor, debugger and source control. IDLE was opened and a new file created to write and run a simple "Hello World" Python program.

Uploaded by

rishitibest123
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Class Notes Python

Rishabh Verma conducted Experiment 1 on installing Python. The steps were to download Python IDLE from the official website, tick boxes to use admin privileges and add Python to the system path during installation. After installation, the path variable was set by adding the path where Python is installed. Python IDEs like IDLE integrate tools for software development like an editor, debugger and source control. IDLE was opened and a new file created to write and run a simple "Hello World" Python program.

Uploaded by

rishitibest123
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Name-Rishabh Verma

SAP-ID:500108272

Batch-30
Experiment-1:-

Python installation:-
Step1:- Download python IDLE from the official python website:
https://www.python.org/downloads/
Step2:- After successful download, open the python exe file and then
remember to tick the two check boxes:
 Use admin privileges when installing py.exe
 Add python.exe to path

Step3:- Click on install now and then setup of python IDLE will begin.
Click on close.

After complete installation set up the path variable by clicking on My Computer


->Properties ->Advanced System setting ->Environment Variable ->New
In Variable name write path and in Variable value copy path up to
C://Python(i.e., path where Python is installed). Click Ok ->Ok.

Path will be set for executing Python programs.

Python path variables are needed to maintain directories of custom


python libraries.

Python IDEs:-

An IDE (or Integrated Development Environment) is a program dedicated to


software development. As the name implies, IDEs integrate several tools
specifically designed for software development. These tools usually include:

 An editor designed to handle code (with, for example, syntax


highlighting and auto-completion)
 Build, execution, and debugging tools
 Some form of source control

And then after that open IDLE by searching it in the search box. This is how
IDLE looks like:

Create a new python file by clicking on the File->New File. Save the new file
and then write the simple program of Hello World in python file.
Then click on Run or press F5 to run the program.
After successful run, it will print the output as shown:

You might also like