top of page

Learn Python

Python range method
Python Loop
Python break continue
Python Loop else
Python Nested Loop

Python Installation

Python Installation and Working in Python

Python Installation


Download Python [IDLE – Integrated Development Learning Environment] – https://www.python.org/downloads


Download Anaconda Distribution (provide Jupyter and Spyder – IDE for Python) – https://www.anaconda.com/distribution/


PyCharm – An interactive IDE for Python . Download it from

https://www.jetbrains.com/pycharm/download/


Python is used by Google Search engine, Youtube etc. It is being widely used for System Programming, GUI Programming, Internet Scripting/Web, Gaming, Text Processing, Network Programming, Commercial Robots, Machine Learning, Data Analysis, and Scientific Application.


Working with Python


Python IDLE 

[Integrated Development Learning Environment]


IDLE is a simple that comes with Python. To write and run Python programs interactively, you can either use command line or the IDLE. Python IDLE comprises Python Shell [Interactive Mode] and Python Editor [Script Mode]


In Python Shell [Interactive Mode] 


You can type code in front of Python prompt >>> (three greater than sign), and press Enter key after command, It gets immediately executed and the output is displayed then and there.


Python Editor [Script Mode] 


In interactive mode (>>>) there is no provision for saving the commands that we typed at the Python prompt.


The Python Editor [Script Mode], allows you to save your python code, with .py extension and can be reused when you want.


To Create New Python Module, Click on File ->New.

Type python commands and save it with “abc.py”, don’t forget to give .py extension.


To Run the python saved module, Click on Run->Run Module or Press F5 Key.


This will show the result in the python shell.


Anaconda Navigator [Jupyter Notebook]


Type Code, To execute either click on RUN button or Press CTRL+Enter key


Spyder IDE


JetBrains PyCharm IDE (Not Free, Available Trial Version) (https://www.jetbrains.com/pycharm/download/

Python Installation
bottom of page