Skip to main content

Lesson #1, Installing Python(For Windows)


Welcome to our first lesson,
First of all we have to install python, so you have to install Pycharm on your computer and python if it is not already installed.

Here are the download links, you can install these from these links.
Download Link:
Python: https://www.python.org/downloads/
Pycharm: https://www.jetbrains.com/pycharm/download/

Here are the steps to download for the windows:

1. Double-click pycharmEDU.exe file to launch the installer. Your computer will
verify the installer:

Now the first page of installation wizard will open:

Click the Next Button.

2. On the Choose Install Location screen, specify the destination directory where
the product will be installed. The installation wizard will suggest a default
location. To choose a custom location, click Browse and select the desired
location in your file system. When ready, click next.


3. On the Installation Options screen, specify the following options:
o Create Desktop shortcut: if you select this check box, the shortcut to
PyCharm Edu will appear on your Desktop. Thus you will be able to
launch PyCharm Edu from your Desktop, by double-clicking this shortcut
icon. If you leave this check-box unselected (this is what the installer
suggests), then the shortcut on the Desktop will not be created, and you
will have to launch the application from the Start menu or from your file
system only.

  •  If you are working on Windows XP, you can opt to select the checkbox
  • Create Quick Launch shortcut.
  •  Choose Python version: in this section, you have to specify which Python
  • version will be installed for PyCharm Edu. The installer suggests you to
  • choose between Python 2.7 and Python 3.4. If you are not sure which
  • version suites you better, refer to the comparison of versions.

 If you want all files with the py extension to be opened by PyCharm,
select the .py check-box in the section Create associations.

Click Next.


4. On this page of the installation wizard, you have to specify in which folder of
the Start menu the application shortcuts will appear. If you do not enter the
folder name, then your Start menu will contain the folder Jet Brains.
Click Install.
See how the Python interpreter you’ve selected is installed:


5. When installing Python is ready, you will see the last page of the wizard:
Select the check box Run PyCharm Edu (if you want to launch the product
immediately), and click Finish.

Comments

Popular posts from this blog

Learning Python Basics

                           Python Basics What is VARIABLES in Python? As the name implies the meaning, a variable is something which can be change. A variable is a way of referring to a memory location used by a computer program. A variable is a symbolic name for this physical location. This memory location contains values, like numbers,text or more complicated types. Variables can be treated as a container which can store some value in it. In any other languages for example C++, This is how you write a variable int a = 20 Where int is data type of the variable. Int stands for integer. String refers to text or collection of characters. It is represented in single quotes or double quotes. Float refers to decimal point numbers. In Programming languages like C++ you have to specify the data type of a variable. But in python you don’t have to worry about data type. Whatever value  you give the variable, py...

Loop Statements

Loop STATEMENTS The Loop statements allow a set of instructions to be performed repeatedly until a certain condition is fulfilled. The iteration statements are also called loops or looping statements. THE FOR LOOP The for loop is the easiest to understand of the python loops. Syntax: For I in range(lowerlimit,upperlimit): Loop Body The program will run until I value becomes equal to upperlimit – 1. Example: For I in range(1,5): Print(“Hello”) This program will print Hello 4 times, ie from 1 to 4 (upper limit-1)  I value will start as 1 then loop body will get executed and I value will be incremented. This keeps on taking place until I ==upper limit-1 . After that the program comes out of loop body. THE WHILE LOOP The second loop available in python is the while loop. The while loop is an entry controlled loop. The syntax of a while loop is while (expression): Loop-body Where loop body keep on getting executed until the expression becomes false. When the expression becomes false, th...

Functions

FUNCTIONS Functions are the already defined part of the program which can be recalled from other parts of the program as many times as needed. Functions plays an important role in helping to reduce the program code. Function has basic three parts: 1. Function Definition 2. Function Call 3. THE FUNCTION DEFINITION The FUNCTION DEFINATION: The function definition deals with purpose/task of the function. It tells the python what the function does. Syntax: Def function_name(arguments): Function body. Example: Def Add(a,b): Print(a+b) Arguments are the variables used in function. You cannot skip variable name in function definition. THE FUNCTION CALL Function call passes the variable values to function definition, the number of values must match the number of parameters. Syntax: Function_name(values) Example: Add (5,6) Gives output 11 RETURN STATEMENT : Return statement can be used to return function result to function call: Def add(a,b): Return (a+b) Now return sends the value of sum back ...