Video description
Over the last few years, Python has gained immense popularity. The demand for the programming language in the job market has particularly increased and being well-versed with it can help you enter some of the most exciting industries, including data science, artificial intelligence (AI), web applications, server-side automation, and home automation.
This course will make it easy for you to learn Python, with an emphasis on server-side automation. You will not only get to grips with core Python but also focus on advanced Python. Gradually, the course will take you through writing a Python script to print the OS name. You’ll also learn how to pass elements into a program using *args. To build on your knowledge further, you’ll understand the technique of transferring a file from a local server to a remote server and vice versa using paramiko.
By the end of this course, you will have learned how to automate a wide variety of tasks with the help of Python scripting.
What You Will Learn
- Understand how to use Python scripting for automation
- Get hands-on with core Python and advanced Python
- Delve into the OS module and its various functions such as os.name and os.error
Audience
This course is for anyone who is just getting started with programming and is looking to learn Python from scratch.
About The Author
VRTechnologies: VR Technologies is a seasoned DevOps automation consultant with a specialization in cloud and DevOps. With a wealth of experience, they have successfully trained over 400 students through comprehensive automation courses covering Shell, Python, and Ansible.
With six years of training expertise, VR Technologies’ commitment to staying at the forefront of technology trends is unmatched, ensuring that students receive the most up-to-date knowledge. Their passion for learning and teaching drives them to meticulously research and prepare each course, offering hands-on demonstrations from the basics to advanced concepts. Join VR Technologies on a transformative learning journey and unlock the power of automation in your career.
Table of contents
- Chapter 1 : Introduction
- Chapter 2 : Basics of print, indentation, comments and special characters
- Chapter 3 : Basics of variables and Data Types
- Chapter 4 : Complete String Operations
- Chapter 5 : Data Structures of Python
- Chapter 6 : Operators of Python
- Chapter 7 : Conditional statements
- Chapter 8 : Working with Python Modules
- Chapter 9 : sys module
- Chapter 10 : OS Module
-
Chapter 11 : Loops - for and while loops with break, continue and pass
- Practice: Read a path and check if given path is a file or a directory
- Introduction to loops with an example
- Loops | Working with for loop
- Simple practice with for loop
- Find all files in a directory with required extension.py/.sh/.log/.txt etc…
- Complete range() function
- for loop to work with strings, list, tuple and dictionaries
- Introduction to while loop
- Loop Control statements: break, continue and pass
- Chapter 12 : datetime module to work with dates and times
- Chapter 13 : subprocess Module: To execute any Operating System Commands with python
- Chapter 14 : Working with text files
- Chapter 15 : Working with csv
- Chapter 16 : Working with files like json
- Chapter 17 : Exception Handling
-
Chapter 18 : Functions
- Introduction to Functions
- How to define a Function and How to use defined Function, Types of Functions
- Converting simple code into Functions
- Calling a function from another function and Scope of the variables
- Simple Functions with arguments
- Functions with arguments and return value
- Functions with default arguments
- Functions with keyword-based arguments
- Functions with Variable length arguments
- Functions with variable keyword arguments
- How to use Functions of one script into another script, what is __name__ ?
- Simple exception handling to changing current working directory
-
Chapter 19 : Regular expression with re module
- Introduction to regular expressions
- Basic rules to create a pattern for regex
- Rules to create a pattern Part-2
- Rules to create a pattern Part-2
- Regex with Flags
- working with search and match operations from re module
- working with findall and finditer operations
- working with split, sub and subn operations of re module
- compile operation (Execute all re operations on compile object)
- Chapter 20 : Paramiko module to work with remote servers using python
- Chapter 21 : Shutil module
- Chapter 22 : OOPS for Real Time
- Chapter 23 : Windows Subsystem for Linux
Product information
- Title: Complete Python Scripting for Automation
- Author(s):
- Release date: March 2020
- Publisher(s): Packt Publishing
- ISBN: 9781800203181
You might also like
video
Practical Python: Learn Python Basics Step by Step - Python 3
Python is one of the most popular programming languages and gives a lot of scope and …
book
Automate the Boring Stuff with Python, 2nd Edition
If you’ve ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how …
video
Complete Python Course with 10 Real-World Projects
Python is a multi-paradigm programming language with object-oriented and structured programming fully supported, and many features …
video
Introduction to Python: Learn How to Program Today with Python
7+ Hours of Video Instruction Overview Python is a great, beginner-friendly programming language because it was …