SlideShare a Scribd company logo
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
Subject: BVITSD 205 : Programming And
Problem Solving Though Python
Topic: Unit I- Installation of Python
@Dr. Arpana Chaturvedi
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
Unit-II 1. Download binaries from python.org
@Dr. Arpana Chaturvedi
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.
Unit-I Python Setup Completed
▰
@Dr. Arpana Chaturvedi
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
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
Unit-I Python Installed Successfully
▰
@Dr. Arpana Chaturvedi
Unit-I Python Shell
@Dr. Arpana Chaturvedi
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.
Unit-II Step 3. Click ‘Install’ and wait till the
progress meter hits the end.
▰
@Dr. Arpana Chaturvedi
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
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.
Unit-II - After You Install Python on Windows
@Dr. Arpana Chaturvedi
You can find a list of programs in the Start Menu.
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
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
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
Unit-II Ways to reach Python
@Dr. Arpana Chaturvedi
Output
Unit-I Output of Python Script
@Dr. Arpana Chaturvedi
Thank You !!

More Related Content

Similar to Introduction To Python.pdf (20)

Re: 제로부터시작하는텐서플로우
Re: 제로부터시작하는텐서플로우Re: 제로부터시작하는텐서플로우
Re: 제로부터시작하는텐서플로우
Mario Cho
 
10 11-hart installing pythonsoftware
10 11-hart installing pythonsoftware10 11-hart installing pythonsoftware
10 11-hart installing pythonsoftware
William Hart
 
Elevate your programming expertise with Xplore IT Corp’s python training in C...
Elevate your programming expertise with Xplore IT Corp’s python training in C...Elevate your programming expertise with Xplore IT Corp’s python training in C...
Elevate your programming expertise with Xplore IT Corp’s python training in C...
xploreitcorp
 
Introduction to Python.pdf
Introduction to Python.pdfIntroduction to Python.pdf
Introduction to Python.pdf
Rahul Mogal
 
Python virtualenv & pip in 90 minutes
Python virtualenv & pip in 90 minutesPython virtualenv & pip in 90 minutes
Python virtualenv & pip in 90 minutes
Larry Cai
 
CrashCourse: Python with DataCamp and Jupyter for Beginners
CrashCourse: Python with DataCamp and Jupyter for BeginnersCrashCourse: Python with DataCamp and Jupyter for Beginners
CrashCourse: Python with DataCamp and Jupyter for Beginners
Olga Scrivner
 
Run Python on windows
Run Python on windowsRun Python on windows
Run Python on windows
Sitthykun LY
 
Django Dev Environment Howto
Django Dev Environment HowtoDjango Dev Environment Howto
Django Dev Environment Howto
Tzu-ping Chung
 
Python Requirements File How to Create Python requirements.txt
Python Requirements File How to Create Python requirements.txtPython Requirements File How to Create Python requirements.txt
Python Requirements File How to Create Python requirements.txt
Inexture Solutions
 
Python setup for dummies
Python setup for dummiesPython setup for dummies
Python setup for dummies
Rajesh Rajamani
 
L2 - Install Python.pptx
L2 - Install Python.pptxL2 - Install Python.pptx
L2 - Install Python.pptx
EloAOgardo
 
How to Install Python on Linux
How to Install Python on LinuxHow to Install Python on Linux
How to Install Python on Linux
Vinita Silaparasetty
 
Robot framework
Robot frameworkRobot framework
Robot framework
Rochak Bhalla
 
05 python.pdf
05 python.pdf05 python.pdf
05 python.pdf
SugumarSarDurai
 
Python for IoT CoE.pptx KDOJWIHJNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Python for IoT CoE.pptx KDOJWIHJNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPython for IoT CoE.pptx KDOJWIHJNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Python for IoT CoE.pptx KDOJWIHJNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
SalihaBathool
 
First python project
First python projectFirst python project
First python project
Neetu Jain
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
Ramakrishna Reddy Bijjam
 
OpenCV with Python
OpenCV with PythonOpenCV with Python
OpenCV with Python
fsxflyer789Productio
 
Intro to Web Development Using Python and Django
Intro to Web Development Using Python and DjangoIntro to Web Development Using Python and Django
Intro to Web Development Using Python and Django
Chariza Pladin
 
Introduction to robot framework
Introduction to robot frameworkIntroduction to robot framework
Introduction to robot framework
Chonlasith Jucksriporn
 
Re: 제로부터시작하는텐서플로우
Re: 제로부터시작하는텐서플로우Re: 제로부터시작하는텐서플로우
Re: 제로부터시작하는텐서플로우
Mario Cho
 
10 11-hart installing pythonsoftware
10 11-hart installing pythonsoftware10 11-hart installing pythonsoftware
10 11-hart installing pythonsoftware
William Hart
 
Elevate your programming expertise with Xplore IT Corp’s python training in C...
Elevate your programming expertise with Xplore IT Corp’s python training in C...Elevate your programming expertise with Xplore IT Corp’s python training in C...
Elevate your programming expertise with Xplore IT Corp’s python training in C...
xploreitcorp
 
Introduction to Python.pdf
Introduction to Python.pdfIntroduction to Python.pdf
Introduction to Python.pdf
Rahul Mogal
 
Python virtualenv & pip in 90 minutes
Python virtualenv & pip in 90 minutesPython virtualenv & pip in 90 minutes
Python virtualenv & pip in 90 minutes
Larry Cai
 
CrashCourse: Python with DataCamp and Jupyter for Beginners
CrashCourse: Python with DataCamp and Jupyter for BeginnersCrashCourse: Python with DataCamp and Jupyter for Beginners
CrashCourse: Python with DataCamp and Jupyter for Beginners
Olga Scrivner
 
Run Python on windows
Run Python on windowsRun Python on windows
Run Python on windows
Sitthykun LY
 
Django Dev Environment Howto
Django Dev Environment HowtoDjango Dev Environment Howto
Django Dev Environment Howto
Tzu-ping Chung
 
Python Requirements File How to Create Python requirements.txt
Python Requirements File How to Create Python requirements.txtPython Requirements File How to Create Python requirements.txt
Python Requirements File How to Create Python requirements.txt
Inexture Solutions
 
Python setup for dummies
Python setup for dummiesPython setup for dummies
Python setup for dummies
Rajesh Rajamani
 
L2 - Install Python.pptx
L2 - Install Python.pptxL2 - Install Python.pptx
L2 - Install Python.pptx
EloAOgardo
 
Python for IoT CoE.pptx KDOJWIHJNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Python for IoT CoE.pptx KDOJWIHJNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNPython for IoT CoE.pptx KDOJWIHJNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
Python for IoT CoE.pptx KDOJWIHJNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
SalihaBathool
 
First python project
First python projectFirst python project
First python project
Neetu Jain
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
Ramakrishna Reddy Bijjam
 
Intro to Web Development Using Python and Django
Intro to Web Development Using Python and DjangoIntro to Web Development Using Python and Django
Intro to Web Development Using Python and Django
Chariza Pladin
 

More from Arpana Awasthi (12)

Unit 5 Part 1 Macros
Unit 5 Part 1 MacrosUnit 5 Part 1 Macros
Unit 5 Part 1 Macros
Arpana Awasthi
 
Unit 2 Part 1.2 Data Types.pdf
Unit 2 Part 1.2 Data Types.pdfUnit 2 Part 1.2 Data Types.pdf
Unit 2 Part 1.2 Data Types.pdf
Arpana Awasthi
 
Unit 2 Part 1 POLYMORPHISM.pdf
Unit 2 Part 1 POLYMORPHISM.pdfUnit 2 Part 1 POLYMORPHISM.pdf
Unit 2 Part 1 POLYMORPHISM.pdf
Arpana Awasthi
 
Unit 2 Part 1 Constructors.pdf
Unit 2 Part 1 Constructors.pdfUnit 2 Part 1 Constructors.pdf
Unit 2 Part 1 Constructors.pdf
Arpana Awasthi
 
Eclipse - GUI Palette
Eclipse - GUI Palette Eclipse - GUI Palette
Eclipse - GUI Palette
Arpana Awasthi
 
Introduction to Eclipse
Introduction to Eclipse Introduction to Eclipse
Introduction to Eclipse
Arpana Awasthi
 
Arrays 2 Dimensional Unit 2 Part 1.pdf
Arrays 2 Dimensional Unit 2 Part 1.pdfArrays 2 Dimensional Unit 2 Part 1.pdf
Arrays 2 Dimensional Unit 2 Part 1.pdf
Arpana Awasthi
 
Arrays Fundamentals Unit II
Arrays  Fundamentals Unit IIArrays  Fundamentals Unit II
Arrays Fundamentals Unit II
Arpana Awasthi
 
Machine Learning: Need of Machine Learning, Its Challenges and its Applications
Machine Learning: Need of Machine Learning, Its Challenges and its ApplicationsMachine Learning: Need of Machine Learning, Its Challenges and its Applications
Machine Learning: Need of Machine Learning, Its Challenges and its Applications
Arpana Awasthi
 
File Handling in C Part I
File Handling in C Part IFile Handling in C Part I
File Handling in C Part I
Arpana Awasthi
 
Programming language
Programming languageProgramming language
Programming language
Arpana Awasthi
 
Role of machine learning in detection, prevention and treatment of cancer
Role of machine learning in detection, prevention and treatment of cancerRole of machine learning in detection, prevention and treatment of cancer
Role of machine learning in detection, prevention and treatment of cancer
Arpana Awasthi
 
Unit 2 Part 1.2 Data Types.pdf
Unit 2 Part 1.2 Data Types.pdfUnit 2 Part 1.2 Data Types.pdf
Unit 2 Part 1.2 Data Types.pdf
Arpana Awasthi
 
Unit 2 Part 1 POLYMORPHISM.pdf
Unit 2 Part 1 POLYMORPHISM.pdfUnit 2 Part 1 POLYMORPHISM.pdf
Unit 2 Part 1 POLYMORPHISM.pdf
Arpana Awasthi
 
Unit 2 Part 1 Constructors.pdf
Unit 2 Part 1 Constructors.pdfUnit 2 Part 1 Constructors.pdf
Unit 2 Part 1 Constructors.pdf
Arpana Awasthi
 
Eclipse - GUI Palette
Eclipse - GUI Palette Eclipse - GUI Palette
Eclipse - GUI Palette
Arpana Awasthi
 
Introduction to Eclipse
Introduction to Eclipse Introduction to Eclipse
Introduction to Eclipse
Arpana Awasthi
 
Arrays 2 Dimensional Unit 2 Part 1.pdf
Arrays 2 Dimensional Unit 2 Part 1.pdfArrays 2 Dimensional Unit 2 Part 1.pdf
Arrays 2 Dimensional Unit 2 Part 1.pdf
Arpana Awasthi
 
Arrays Fundamentals Unit II
Arrays  Fundamentals Unit IIArrays  Fundamentals Unit II
Arrays Fundamentals Unit II
Arpana Awasthi
 
Machine Learning: Need of Machine Learning, Its Challenges and its Applications
Machine Learning: Need of Machine Learning, Its Challenges and its ApplicationsMachine Learning: Need of Machine Learning, Its Challenges and its Applications
Machine Learning: Need of Machine Learning, Its Challenges and its Applications
Arpana Awasthi
 
File Handling in C Part I
File Handling in C Part IFile Handling in C Part I
File Handling in C Part I
Arpana Awasthi
 
Role of machine learning in detection, prevention and treatment of cancer
Role of machine learning in detection, prevention and treatment of cancerRole of machine learning in detection, prevention and treatment of cancer
Role of machine learning in detection, prevention and treatment of cancer
Arpana Awasthi
 
Ad

Recently uploaded (20)

Palo Alto Networks Cybersecurity Foundation
Palo Alto Networks Cybersecurity FoundationPalo Alto Networks Cybersecurity Foundation
Palo Alto Networks Cybersecurity Foundation
VICTOR MAESTRE RAMIREZ
 
Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...
pranavbodhak
 
SDG 9000 Series: Unleashing multigigabit everywhere
SDG 9000 Series: Unleashing multigigabit everywhereSDG 9000 Series: Unleashing multigigabit everywhere
SDG 9000 Series: Unleashing multigigabit everywhere
Adtran
 
LSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection FunctionLSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection Function
Takahiro Harada
 
Securiport - A Border Security Company
Securiport  -  A Border Security CompanySecuriport  -  A Border Security Company
Securiport - A Border Security Company
Securiport
 
AI Emotional Actors: “When Machines Learn to Feel and Perform"
AI Emotional Actors:  “When Machines Learn to Feel and Perform"AI Emotional Actors:  “When Machines Learn to Feel and Perform"
AI Emotional Actors: “When Machines Learn to Feel and Perform"
AkashKumar809858
 
Offshore IT Support: Balancing In-House and Offshore Help Desk Technicians
Offshore IT Support: Balancing In-House and Offshore Help Desk TechniciansOffshore IT Support: Balancing In-House and Offshore Help Desk Technicians
Offshore IT Support: Balancing In-House and Offshore Help Desk Technicians
john823664
 
Create Your First AI Agent with UiPath Agent Builder
Create Your First AI Agent with UiPath Agent BuilderCreate Your First AI Agent with UiPath Agent Builder
Create Your First AI Agent with UiPath Agent Builder
DianaGray10
 
Cyber Security Legal Framework in Nepal.pptx
Cyber Security Legal Framework in Nepal.pptxCyber Security Legal Framework in Nepal.pptx
Cyber Security Legal Framework in Nepal.pptx
Ghimire B.R.
 
Grannie’s Journey to Using Healthcare AI Experiences
Grannie’s Journey to Using Healthcare AI ExperiencesGrannie’s Journey to Using Healthcare AI Experiences
Grannie’s Journey to Using Healthcare AI Experiences
Lauren Parr
 
TrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy ContractingTrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy Contracting
TrustArc
 
UiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPath Community Berlin: Studio Tips & Tricks and UiPath InsightsUiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPathCommunity
 
Let’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack CommunityLet’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack Community
SanjeetMishra29
 
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Nikki Chapple
 
AI Trends - Mary Meeker
AI Trends - Mary MeekerAI Trends - Mary Meeker
AI Trends - Mary Meeker
Razin Mustafiz
 
Dr Jimmy Schwarzkopf presentation on the SUMMIT 2025 A
Dr Jimmy Schwarzkopf presentation on the SUMMIT 2025 ADr Jimmy Schwarzkopf presentation on the SUMMIT 2025 A
Dr Jimmy Schwarzkopf presentation on the SUMMIT 2025 A
Dr. Jimmy Schwarzkopf
 
Contributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptxContributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptx
Patrick Lumumba
 
Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)
Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)
Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)
Peter Bittner
 
European Accessibility Act & Integrated Accessibility Testing
European Accessibility Act & Integrated Accessibility TestingEuropean Accessibility Act & Integrated Accessibility Testing
European Accessibility Act & Integrated Accessibility Testing
Julia Undeutsch
 
Droidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing HealthcareDroidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing Healthcare
Droidal LLC
 
Palo Alto Networks Cybersecurity Foundation
Palo Alto Networks Cybersecurity FoundationPalo Alto Networks Cybersecurity Foundation
Palo Alto Networks Cybersecurity Foundation
VICTOR MAESTRE RAMIREZ
 
Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...
pranavbodhak
 
SDG 9000 Series: Unleashing multigigabit everywhere
SDG 9000 Series: Unleashing multigigabit everywhereSDG 9000 Series: Unleashing multigigabit everywhere
SDG 9000 Series: Unleashing multigigabit everywhere
Adtran
 
LSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection FunctionLSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection Function
Takahiro Harada
 
Securiport - A Border Security Company
Securiport  -  A Border Security CompanySecuriport  -  A Border Security Company
Securiport - A Border Security Company
Securiport
 
AI Emotional Actors: “When Machines Learn to Feel and Perform"
AI Emotional Actors:  “When Machines Learn to Feel and Perform"AI Emotional Actors:  “When Machines Learn to Feel and Perform"
AI Emotional Actors: “When Machines Learn to Feel and Perform"
AkashKumar809858
 
Offshore IT Support: Balancing In-House and Offshore Help Desk Technicians
Offshore IT Support: Balancing In-House and Offshore Help Desk TechniciansOffshore IT Support: Balancing In-House and Offshore Help Desk Technicians
Offshore IT Support: Balancing In-House and Offshore Help Desk Technicians
john823664
 
Create Your First AI Agent with UiPath Agent Builder
Create Your First AI Agent with UiPath Agent BuilderCreate Your First AI Agent with UiPath Agent Builder
Create Your First AI Agent with UiPath Agent Builder
DianaGray10
 
Cyber Security Legal Framework in Nepal.pptx
Cyber Security Legal Framework in Nepal.pptxCyber Security Legal Framework in Nepal.pptx
Cyber Security Legal Framework in Nepal.pptx
Ghimire B.R.
 
Grannie’s Journey to Using Healthcare AI Experiences
Grannie’s Journey to Using Healthcare AI ExperiencesGrannie’s Journey to Using Healthcare AI Experiences
Grannie’s Journey to Using Healthcare AI Experiences
Lauren Parr
 
TrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy ContractingTrustArc Webinar: Mastering Privacy Contracting
TrustArc Webinar: Mastering Privacy Contracting
TrustArc
 
UiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPath Community Berlin: Studio Tips & Tricks and UiPath InsightsUiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPathCommunity
 
Let’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack CommunityLet’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack Community
SanjeetMishra29
 
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Nikki Chapple
 
AI Trends - Mary Meeker
AI Trends - Mary MeekerAI Trends - Mary Meeker
AI Trends - Mary Meeker
Razin Mustafiz
 
Dr Jimmy Schwarzkopf presentation on the SUMMIT 2025 A
Dr Jimmy Schwarzkopf presentation on the SUMMIT 2025 ADr Jimmy Schwarzkopf presentation on the SUMMIT 2025 A
Dr Jimmy Schwarzkopf presentation on the SUMMIT 2025 A
Dr. Jimmy Schwarzkopf
 
Contributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptxContributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptx
Patrick Lumumba
 
Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)
Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)
Nix(OS) for Python Developers - PyCon 25 (Bologna, Italia)
Peter Bittner
 
European Accessibility Act & Integrated Accessibility Testing
European Accessibility Act & Integrated Accessibility TestingEuropean Accessibility Act & Integrated Accessibility Testing
European Accessibility Act & Integrated Accessibility Testing
Julia Undeutsch
 
Droidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing HealthcareDroidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing Healthcare
Droidal LLC
 
Ad

Introduction To Python.pdf

  • 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
  • 4. Unit-II 1. Download binaries from python.org @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.
  • 6. Unit-I Python Setup Completed ▰ @Dr. Arpana Chaturvedi
  • 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
  • 9. Unit-I Python Installed Successfully ▰ @Dr. Arpana Chaturvedi
  • 10. Unit-I Python Shell @Dr. Arpana Chaturvedi
  • 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
  • 19. Unit-II Ways to reach Python @Dr. Arpana Chaturvedi Output
  • 20. Unit-I Output of Python Script @Dr. Arpana Chaturvedi