Member-only story
Python
7 Handy Python Scripts That Made Your Life Securer, Easier, and Happier
Save time and improve productivity as a professional
The Python programming skill can not only get you a job, but automate and simplify your life elegantly if you can leverage it properly.
There are many boring and repeated stuff in our daily work and living. As long as it’s digital, it could be optimized by Python. (Python cannot help us too much with gardening at least for now.)
This article will introduce 7 practical Python scripts for this purpose.
1. Generate Strong and Unpredictable Passwords for Your Digital Safety
Are you still using your birthday as a password for all your online accounts?
It’s time to improve your digital security.
But getting a solid and unpredictable password is not easy, so leaving this job to Python is a good idea.
Here is a Python script that will generate this type of password:
# A Python script to generate a strong and unpredictable password
# Author: Yang Zhou
import secrets
import string
def generate_strong_password(length=8):
alphabet = string.ascii_letters +…