Appearance
Python OS Modules
Remove a file
With pathlib it's been consolidated to .unlink(), so sticking with that as the preferred nomenclature.
https://docs.python.org/3/library/pathlib.html
from pathlib import Path
p = Path('.')
p.unlink()