JIMS Vasant Kunj-II, BCA Department teaches Python in the Second Semester.
JIMS Vasant Kunj-II is one of the best BCA colleges in Delhi NCR.
BCA Admissions 2022 are Open. Interested Students can apply.
Visit us at https://www.jimssouthdelhi.com/
BCA Course:https://www.jimssouthdelhi.com/course-bca.html
BCA Placements:https://www.jimssouthdelhi.com/bca-placement.html
BCA Admissions :https://www.jimssouthdelhi.com/admission-procedure.html
Follow us on:
Facebook: https://www.facebook.com/JIMSVASANTKUNJII/
Twitter: https://twitter.com/jimsljptweets
Instagram : : https://www.instagram.com/jims_vk2/?hl=en
YouTube: https://www.youtube.com/channel/UCZgioa2rpculDY7bHlljD6g
Blog: https://jimssouthdelhi.com/blog/
Linked In: https://www.linkedin.com/in/jims-vasant-kunj-ii-38785a85/
1. Jagannath Institute of Management Sciences
Vasant Kunj-II, New Delhi - 110070
Subject Name: BVITSD 205 : Programming And
Problem Solving Though Python
Department of Information Technology
Created By: Dr. Arpana Chaturvedi
@Dr. Arpana Chaturvedi
2. Subject: BVITSD 205 : Programming And
Problem Solving Though Python
Topic: Unit I- Installation of Python
@Dr. Arpana Chaturvedi
3. Unit-II Install Python on Windows
▰ Step 1: Download Python binaries from python.org
▰ Step 2: Install the binaries
▰ Step 3: Add Python to system environment variables
▰ Step 4: Install pip
▰ Step 5: [Optional] Install virtualenv using pip
@Dr. Arpana Chaturvedi
5. Unit-II 1. Download binaries from python.org
@Dr. Arpana Chaturvedi
• Firstly, to install Python Windows you need to download the required Python
binaries.
• We recommend you to download Python latest (Python 3.6.3, currently)
installer for Windows.
• If you have a different OS, download binaries accordingly. You may choose an
x86-64 installer if you have a 64-bit system.
• Choose an x86 installer if you have a 32-bit system. But you can also click on
the download button in the page header.
7. Unit-II 2. Install Python binaries
▰ Next, you need to install the binaries you downloaded.
▰ Run the installer. It will show you two options.
▰ Install PIP Windows
▰ This is the default option. It also includes the IDLE
(Integrated Development Environment), pip, and the official
documentation. It also creates shortcuts.
▰ Customize Python Installation
@Dr. Arpana Chaturvedi
8. Unit-II This option allows you to choose the
features that you want.
▰
@Dr. Arpana Chaturvedi
You will see the following checkboxes:
• Documentation
• pip
• tcl/tk and IDLE- installs tkinter and the IDLE
• Python test suite- This installs the standard library test
suite of Python
11. Unit-II Advanced Options while Installing
Python
▰
@Dr. Arpana Chaturvedi
Next, it gives you a set of advanced options:
• Install for all users
• Associate files with Python (requires the py
launcher)
• Create shortcuts for installed applications
• Add Python to environment variables
• Precompile standard library
• Download debugging symbols
• Download debug binaries (requires VS
2015 or later)
• You may also specify the location to install
the directory at.
• Other than these two options, the installer
also asks you if you want to add Python to
PATH.
12. Unit-II Step 3. Click ‘Install’ and wait till the
progress meter hits the end.
▰
@Dr. Arpana Chaturvedi
13. Unit-II 3. Add Python to system environment
variables
▰ Locate the Python directory on your computer and append the location to the
end of the PATH variable. It may look like this:
▰ C:UsersdellAppDataRoamingMicrosoftWindowsStart
MenuProgramsPython 3.9
▰ An environment variable holds values about the current environment. You need
it so you can access Python through the command line.
@Dr. Arpana Chaturvedi
14. Unit-II 5. [Optional] Install virtualenv using
pip
@Dr. Arpana Chaturvedi
This step is optional. If you
install virtualenv, you can create
a virtual Python environment.
Now you don’t need to worry
about version conflicts among
projects.
15. Unit-II - After You Install Python on Windows
@Dr. Arpana Chaturvedi
You can find a list of programs in the Start Menu.
16. Unit-II Ways to reach Python
1. Command Prompt
▰ You can run Python on the command prompt in two ways:
a. The Conventional way
▰ Search for Command Prompt, and type the following:
▰ python
▰ Now, you can use it as an interpreter.
@Dr. Arpana Chaturvedi
17. Unit-II Ways to reach Python
b. Using the Start Menu
▰ Open the Start menu. Click on Python 3.6 (32-bit). This will take you to the
command prompt for Python. You can now begin coding.
2. The IDLE
@Dr. Arpana Chaturvedi
18. Unit-II Ways to reach Python
▰ You can use the Integrated Development Environment to code in Python.
▰ If you use the Python Shell, you can use it as an interpreter. Otherwise, you can
create a new file to write a Python program.
▰ Later, you can save it and click ‘Run’ to run the program.
@Dr. Arpana Chaturvedi