Explore automation, expreince techniques, A victim of Automation
- On Windows, the shebang line is
#! python3
- On OS X, the shebang line is
#! /usr/bin/env python3
- On Linux, the shebang line is
#! /usr/bin/python3
You can disable the assert statements in your Python programs for a slight
performance improvement. When running Python from the terminal,
include the -O
switch after python or python3 and before the name of the
.py
file.
python ./script.py -O
This will run an optimized version of your program that skips the assertion checks.
Inspired from
-
Automate the Boring Stuff with Python: Practical Programming for Total Beginners Book
by Al Sweigart link -
Python Automation Cookbook: Explore the World of Automation Using Python recipes that will enhance your skills
by Jaime Buelta link -
Network Automation Using Python 3: An Administrator's Handbook Book
by Jithin Alex link
BSD-3 License