Change `importsys` at the beginning, then change `return 1` to `sys.exit(1)` and `return 0` to'sys. exit(0)`. Change `check_disk_ usage("/", 2230, 10)` in previous file to 'check_ disk_ usage('/', 2, 10), then change 'gigabytes_free' to 'gb'
Ethan Wang
@artwalker
Passionate about Crafting Intelligent OS & Pioneering TinyML Applications for Resource-Constrained Devices
STORY’S CREDIBILITY
Guide
Walkthroughs, tutorials, guides, and tips. This story will teach you how to do something new or how to do something better.