Downloading Python IDLE and Installation | Download PYTHON

 HOW TO DOWNLOAD AND INSTALL PYCHARM IDE: 

For developing applications in Python using PyCharm, you need to install it in your system.

Downloading Python IDLE and Installation | Download PYTHON | diplomawaale.blogspot.com
Install PYTHON IDLE



PyCharm is available in two versions:

Professional version: It is a full-featured IDE used by professional developers.

Community version: It is open-source and free software that is not full-featured. You can use it for learning Python application development.

The Professional version is a paid tool and comes with a free trial. You have to buy a license key for it after your free trial period is over.

The Community version, on the other hand, is open-source without any subscription charge.

In this blog, we will see the installation of the Community version that includes enough features to help us write efficient programs.

Introduction To PYTHON:

Python is an easy-to-learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming.
                         Python language was created by Guido Van Rossum. Sir Guido Van Rossum is also known as the Father of Python Programming. Python language was released in 1991.

STEPS TO INSTALL PYCHARM: 

STEP 1: To download PyCharm, visit the official website of JetBrains: DOWNLOAD PYCHARM

STEP 2: - Click on the Download button.

STEP 3: - After that, you will see the below window with two options, Community and Community

STEP 4: -Download the Community version.


Downloading Python IDLE and Installation | Download PYTHON | diplomawaale.blogspot.com

STEPS FOR CREATING A NEW PROJECT IN PYCHARM: 

Installing PyCharm on Windows is very simple. To install PyCharm on the Windows operating system, visit the link https://www.jetbrains.com/pycharm/download/download-thanks.html?platform windows to download the executable installer. Double-click the installer (.exe) file and install PyCharm by clicking next at each step.


To Create a new program Follows the Steps:
STEP 1: - Open PyCharm Editor. and Click on "CREATE A NEW PROJECT" to Create A new Project.

Downloading Python IDLE and Installation | Download PYTHON | diplomawaale.blogspot.com

STEP 2:  Select a location to save the project.

  •         We can save the newly created project at desired memory location or can keep the file location as it is but at least change the project default name untitled to "FirstProject" or something meaningful.
  •  Pycharm automatically found the installed Python interpreter.
  •  After changing the name click on the "Create" Button.

Downloading Python IDLE and Installation | Download PYTHON | diplomawaale.blogspot.com

STEP 3: Click on the "File" menu and select "New". By clicking "New" option it will show various file formats. Select the "Python File".

Downloading Python IDLE and Installation | Download PYTHON | diplomawaale.blogspot.com

STEP 4: - Now type the name of the Python file and click on "OK". We have written the "FirstProgram".

Downloading Python IDLE and Installation | Download PYTHON | diplomawaale.blogspot.com

STEP 5: - Now type the first program - print("Hello World") then click on the "Run" menu to run the program.

Downloading Python IDLE and Installation | Download PYTHON | diplomawaale.blogspot.com

STEP 6: -The output will appear at the bottom of the screen.


Downloading Python IDLE and Installation | Download PYTHON | diplomawaale.blogspot.com

BASIC SYNTAX OF PYTHON: 

INDENTATION: 

 Indentation is nothing but adding whitespaces before the statement when it is needed. Without indentation, Python doesn't know which statement to be executed next. Indentation also defines which statements belong to which block. If there is no indentation or improper indentation, it will display "IndentationError" and interrupt our code.
Downloading Python IDLE and Installation | Download PYTHON | diplomawaale.blogspot.com
Basic Syntax

COMMENTS IN PYTHON: 

Comments are used to explain the code. and also used for understanding the code.

Python has two types of comments: ---
 1. Single Line Comments
 2. Multi-Line Comments

1. Single Line Comments: Single-Line comment starts with the hash # character followed by text for further explanation.

Example:

Downloading Python IDLE and Installation | Download PYTHON | diplomawaale.blogspot.com
Single Line Comments

2. Multi-Line Comments: Python doesn't have explicit support for multi-line comments but we can use hash # character to the multiple lines. For example -

Downloading Python IDLE and Installation | Download PYTHON | diplomawaale.blogspot.com
Multiline Comments


                                                                                                                           



Post a Comment

0 Comments