SlideShare a Scribd company logo
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Agenda
Scripting vs Programming Language
Introduction To Python
Modules In Python Scripting
AWS Scripting Using Boto
GUI Programming
1
2
3
4
5
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Scripting vs Programming Language
Hello
Hello
➢ Automate certain tasks in a program
➢ Less code intensive
➢ They are interpreted rather than being compiled
Java
Python
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Introduction To Python
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Introduction To Python
❖ Python is easy, free & open source
❖ Python was created by Guido Van Rossum in 1989
❖ Python supports procedure-oriented programming &
object-oriented programming
❖ Python is an interpreted language with dynamic
semantics
High-level
Portable
Extensible
High-level
Portable
Extensible
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Modules In Python Scripting
MODULESSys module
Os module
Math
Random
Data Time
JSON
Subprocess
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
AWS Scripting Using Boto
Module
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
AWS Scripting Using Boto
➢ This module provides an interface for the Elastic Compute Cloud (EC2)
service from AWS
➢ It reduces the time required to obtain and boot new server instances
Boto EC2
Module
Users
of EC2
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Configure Boto Module
import boto3
ec2 = boto3.resource('ec2')
for instance in ec2.instances.all():
print (instance.id, instance.state)
pip install boto3
pip install awscli
aws configure
COMMANDS:
CODE:
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
DEMO:
Launch an EC2 Instance
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
AWS S3 Scripting
➢ S3 has a simple web services interface that you can use to store and retrieve data
➢ S3 provides object storage similar to a file system
➢ Folders are represented as buckets and the contents of the buckets are known as keys.
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
DEMO:
Launch a s3 Bucket
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
GUI Programming
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
GUI Programming
Libraries
Tkinter
Python provides various options for developing Graphical User Interfaces (GUIs).
Most commonly used libraries are listed below:
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Example
import Tkinter
top = Tkinter.Tk()
# Code to add widgets will go here...
top.mainloop()
This would create
the window
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
GUI
Labels Frame Radio
Buttons
Grid Check
Buttons
Buttons
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Session In A Minute
Scripting vs Prog. Modules In ScriptingIntroduction to Python
Python
AWS Scripting GUI Programming
S3 Scripting
AWS EC2 Module
Hello
Hello
igh-level
PortableExtensibl
e
High-level
Portable
Extensible
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Don’t just learn it, MASTER it with
Copyright © 2018, edureka and/or its affiliates. All rights reserved.
Python Scripting Tutorial for Beginners | Python Tutorial | Python Training | Edureka

More Related Content

PDF
Learn Python Programming | Python Programming - Step by Step | Python for Beg...
PDF
Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...
PDF
Advanced Python Tutorial | Learn Advanced Python Concepts | Python Programmin...
PPTX
Python programming | Fundamentals of Python programming
PDF
Statistics Using Python | Statistics Python Tutorial | Python Certification T...
PPTX
First python project
PDF
Python tutorial
Learn Python Programming | Python Programming - Step by Step | Python for Beg...
Python Tutorial For Beginners | Python Crash Course - Python Programming Lang...
Advanced Python Tutorial | Learn Advanced Python Concepts | Python Programmin...
Python programming | Fundamentals of Python programming
Statistics Using Python | Statistics Python Tutorial | Python Certification T...
First python project
Python tutorial

What's hot (20)

PPTX
Introduction to python for Beginners
PPT
Introduction to python
PDF
Chapter 0 Python Overview (Python Programming Lecture)
PDF
Python quick guide1
PDF
Python course syllabus
PDF
Python for Science and Engineering: a presentation to A*STAR and the Singapor...
PDF
Python教程 / Python tutorial
PDF
Introduction to python
PDF
Python Projects For Beginners | Python Projects Examples | Python Tutorial | ...
DOCX
Seminar report On Python
PPTX
Python presentation by Monu Sharma
PDF
Introduction To Python
PDF
Python Tutorial | Python Tutorial for Beginners | Python Training | Edureka
PDF
Python tutorial
PPTX
Python basics
PPTX
Basics of python
PPTX
Presentation on python
PPTX
Presentation on python
PPT
Python Programming ppt
PDF
Introduction to python
Introduction to python for Beginners
Introduction to python
Chapter 0 Python Overview (Python Programming Lecture)
Python quick guide1
Python course syllabus
Python for Science and Engineering: a presentation to A*STAR and the Singapor...
Python教程 / Python tutorial
Introduction to python
Python Projects For Beginners | Python Projects Examples | Python Tutorial | ...
Seminar report On Python
Python presentation by Monu Sharma
Introduction To Python
Python Tutorial | Python Tutorial for Beginners | Python Training | Edureka
Python tutorial
Python basics
Basics of python
Presentation on python
Presentation on python
Python Programming ppt
Introduction to python
Ad

Similar to Python Scripting Tutorial for Beginners | Python Tutorial | Python Training | Edureka (20)

PDF
Возможности интерпретатора Python в NX-OS
PPTX
Python programming language introduction unit
PPTX
python programming.pptx
PDF
Introducing Fn Project
PPT
Cmpe202 01 Research
PDF
Python_final_print_vison_academy_9822506209.pdf
PDF
Python_final_print_batch_II_vision_academy.pdf
PDF
Python_final_print_batch_II_vision_academy.pdf
PDF
Python_vision_academy notes
PDF
Python_final_print_batch_II_vision_academy.pdf
PDF
Python_final_print_batch_II_vision_academy (1).pdf
PDF
High-Performance Python On Spark
PDF
High Performance Python on Apache Spark
PPTX
How Python Empowers Ethical Hackers by Supriya Kumar Mitra
PDF
20180921_DOAG_BigDataDays_OracleSpatialandPython_kpatenge
PDF
Lec-1-Introduction to Python.pdf gla University
ODP
Learn python
PPTX
Python Capitulo uno curso de programacion
PDF
Conf42-Python-Building Apache NiFi 2.0 Python Processors
PDF
introduction of python in data science
Возможности интерпретатора Python в NX-OS
Python programming language introduction unit
python programming.pptx
Introducing Fn Project
Cmpe202 01 Research
Python_final_print_vison_academy_9822506209.pdf
Python_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy.pdf
Python_vision_academy notes
Python_final_print_batch_II_vision_academy.pdf
Python_final_print_batch_II_vision_academy (1).pdf
High-Performance Python On Spark
High Performance Python on Apache Spark
How Python Empowers Ethical Hackers by Supriya Kumar Mitra
20180921_DOAG_BigDataDays_OracleSpatialandPython_kpatenge
Lec-1-Introduction to Python.pdf gla University
Learn python
Python Capitulo uno curso de programacion
Conf42-Python-Building Apache NiFi 2.0 Python Processors
introduction of python in data science
Ad

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
PDF
Top 5 Trending Business Intelligence Tools | Edureka
PDF
Tableau Tutorial for Data Science | Edureka
PDF
Python Programming Tutorial | Edureka
PDF
Top 5 PMP Certifications | Edureka
PDF
Top Maven Interview Questions in 2020 | Edureka
PDF
Linux Mint Tutorial | Edureka
PDF
How to Deploy Java Web App in AWS| Edureka
PDF
Importance of Digital Marketing | Edureka
PDF
RPA in 2020 | Edureka
PDF
Email Notifications in Jenkins | Edureka
PDF
EA Algorithm in Machine Learning | Edureka
PDF
Cognitive AI Tutorial | Edureka
PDF
AWS Cloud Practitioner Tutorial | Edureka
PDF
Blue Prism Top Interview Questions | Edureka
PDF
Big Data on AWS Tutorial | Edureka
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
PDF
Kubernetes Installation on Ubuntu | Edureka
PDF
Introduction to DevOps | Edureka
What to learn during the 21 days Lockdown | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Tableau Tutorial for Data Science | Edureka
Python Programming Tutorial | Edureka
Top 5 PMP Certifications | Edureka
Top Maven Interview Questions in 2020 | Edureka
Linux Mint Tutorial | Edureka
How to Deploy Java Web App in AWS| Edureka
Importance of Digital Marketing | Edureka
RPA in 2020 | Edureka
Email Notifications in Jenkins | Edureka
EA Algorithm in Machine Learning | Edureka
Cognitive AI Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Blue Prism Top Interview Questions | Edureka
Big Data on AWS Tutorial | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Kubernetes Installation on Ubuntu | Edureka
Introduction to DevOps | Edureka

Recently uploaded (20)

PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Approach and Philosophy of On baking technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
Dropbox Q2 2025 Financial Results & Investor Presentation
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Review of recent advances in non-invasive hemoglobin estimation
Approach and Philosophy of On baking technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
NewMind AI Monthly Chronicles - July 2025
20250228 LYD VKU AI Blended-Learning.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Per capita expenditure prediction using model stacking based on satellite ima...
Machine learning based COVID-19 study performance prediction
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
The AUB Centre for AI in Media Proposal.docx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
NewMind AI Weekly Chronicles - August'25 Week I

Python Scripting Tutorial for Beginners | Python Tutorial | Python Training | Edureka

  • 1. Copyright © 2018, edureka and/or its affiliates. All rights reserved.
  • 2. Copyright © 2018, edureka and/or its affiliates. All rights reserved. Agenda Scripting vs Programming Language Introduction To Python Modules In Python Scripting AWS Scripting Using Boto GUI Programming 1 2 3 4 5
  • 3. Copyright © 2018, edureka and/or its affiliates. All rights reserved. Scripting vs Programming Language Hello Hello ➢ Automate certain tasks in a program ➢ Less code intensive ➢ They are interpreted rather than being compiled Java Python
  • 4. Copyright © 2018, edureka and/or its affiliates. All rights reserved. Introduction To Python
  • 5. Copyright © 2018, edureka and/or its affiliates. All rights reserved. Introduction To Python ❖ Python is easy, free & open source ❖ Python was created by Guido Van Rossum in 1989 ❖ Python supports procedure-oriented programming & object-oriented programming ❖ Python is an interpreted language with dynamic semantics High-level Portable Extensible High-level Portable Extensible
  • 6. Copyright © 2018, edureka and/or its affiliates. All rights reserved.
  • 7. Copyright © 2018, edureka and/or its affiliates. All rights reserved. Modules In Python Scripting MODULESSys module Os module Math Random Data Time JSON Subprocess
  • 8. Copyright © 2018, edureka and/or its affiliates. All rights reserved. AWS Scripting Using Boto Module
  • 9. Copyright © 2018, edureka and/or its affiliates. All rights reserved. AWS Scripting Using Boto ➢ This module provides an interface for the Elastic Compute Cloud (EC2) service from AWS ➢ It reduces the time required to obtain and boot new server instances Boto EC2 Module Users of EC2
  • 10. Copyright © 2018, edureka and/or its affiliates. All rights reserved. Configure Boto Module import boto3 ec2 = boto3.resource('ec2') for instance in ec2.instances.all(): print (instance.id, instance.state) pip install boto3 pip install awscli aws configure COMMANDS: CODE:
  • 11. Copyright © 2018, edureka and/or its affiliates. All rights reserved. DEMO: Launch an EC2 Instance
  • 12. Copyright © 2018, edureka and/or its affiliates. All rights reserved. AWS S3 Scripting ➢ S3 has a simple web services interface that you can use to store and retrieve data ➢ S3 provides object storage similar to a file system ➢ Folders are represented as buckets and the contents of the buckets are known as keys.
  • 13. Copyright © 2018, edureka and/or its affiliates. All rights reserved. DEMO: Launch a s3 Bucket
  • 14. Copyright © 2018, edureka and/or its affiliates. All rights reserved. GUI Programming
  • 15. Copyright © 2018, edureka and/or its affiliates. All rights reserved. GUI Programming Libraries Tkinter Python provides various options for developing Graphical User Interfaces (GUIs). Most commonly used libraries are listed below:
  • 16. Copyright © 2018, edureka and/or its affiliates. All rights reserved. Example import Tkinter top = Tkinter.Tk() # Code to add widgets will go here... top.mainloop() This would create the window
  • 17. Copyright © 2018, edureka and/or its affiliates. All rights reserved. GUI Labels Frame Radio Buttons Grid Check Buttons Buttons
  • 18. Copyright © 2018, edureka and/or its affiliates. All rights reserved. Session In A Minute Scripting vs Prog. Modules In ScriptingIntroduction to Python Python AWS Scripting GUI Programming S3 Scripting AWS EC2 Module Hello Hello igh-level PortableExtensibl e High-level Portable Extensible
  • 19. Copyright © 2018, edureka and/or its affiliates. All rights reserved. Don’t just learn it, MASTER it with
  • 20. Copyright © 2018, edureka and/or its affiliates. All rights reserved.