![Complete Python Scripting for Automation [Video]](https://content.packt.com/V16285/cover_image_small.jpg)
Complete Python Scripting for Automation [Video]
Subscription
FREE
Video + Subscription
$29.99
Video
$17.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
Subscription
FREE
Video + Subscription
$29.99
Video
$17.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
-
Free ChapterIntroduction
-
Basics of print, indentation, comments and special characters
-
Basics of variables and Data Types
-
Complete String Operations
-
Data Structures of Python
-
Operators of Python
-
Conditional statements
-
Working with Python Modules
-
sys module
-
OS Module
-
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
-
datetime module to work with dates and times
-
subprocess Module: To execute any Operating System Commands with python
-
Working with text files
-
Working with csv
-
Working with files like json
-
Exception Handling
-
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
-
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)
-
Paramiko module to work with remote servers using python
-
Shutil module
-
OOPS for Real Time
-
Windows Subsystem for Linux
About this video
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.
All codes and supporting files are available at-
https://github.com/PacktPublishing/Complete-Python-Scripting-for-Automation
- Publication date:
- March 2020
- Publisher
- Packt
- Duration
- 24 hours 39 minutes
- ISBN
- 9781800203181
Latest Reviews
(1 reviews total)