1 / 22

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

( Python Training : https://www.edureka.co/python-scripting ) <br>This "Python Scripting Tutorial" will introduce you to python which is a scripting language and using python you can build powerful applications easily. This video helps you to learn the below topics: <br><br>1. Scripting language Vs Programming language <br>2. Introduction to Python <br>3. Modules in Python <br>4. AWS scripting Using Boto Module <br>5. GUI Programming <br><br>Subscribe to our channel to get video updates. Hit the subscribe button and click on the bell icon.

EdurekaIN
Download Presentation

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

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  2. Agenda 1 Scripting vs Programming Language 2 Introduction To Python 3 Modules In Python Scripting 4 AWS Scripting Using Boto 5 GUI Programming Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  3. Scripting vs Programming Language ➢ Automate certain tasks in a program ➢ Less code intensive ➢ They are interpreted rather than being compiled Java Hello Hello Python Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  4. Introduction To Python Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  5. Introduction To Python High-level High-level ❖ Python is easy, free & open source ❖ Python was created by Guido Van Rossum in 1989 Portable Portable ❖ Python supports procedure-oriented programming & object-oriented programming Extensible Extensible ❖ Python is an interpreted language with dynamic semantics Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  6. Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  7. Modules In Python Scripting MODULES JSON Sys module Os module Data Time Subprocess Random Math Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  8. AWS Scripting Using Boto Module Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  9. AWS Scripting Using Boto Boto EC2 Module ➢ 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 Users of EC2 Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  10. Configure Boto Module COMMANDS: pip install boto3 CODE: import boto3 ec2 = boto3.resource('ec2') for instance in ec2.instances.all(): print (instance.id, instance.state) pip install awscli aws configure Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  11. DEMO: Launch an EC2 Instance Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  12. 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.

  13. DEMO: Launch a s3 Bucket Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  14. GUI Programming Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  15. GUI Programming Python provides various options for developing Graphical User Interfaces (GUIs). Most commonly used libraries are listed below: Libraries Tkinter Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  16. 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.

  17. GUI Frame Radio Buttons Labels Check Buttons Grid Buttons Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  18. Session In A Minute Scripting vs Prog. Introduction to Python Modules In Scripting igh-level Portable Extensibl e High-level Hello Portable Extensible Python Hello GUI Programming AWS Scripting AWS EC2 Module S3 Scripting Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  19. Don’t just learn it, MASTER it with Copyright © 2018, edureka and/or its affiliates. All rights reserved.

  20. Copyright © 2018, edureka and/or its affiliates. All rights reserved.

More Related