import os

path = "削除したいファイルパス"
os.remove(path)

返却値はBoolではないので、tryで拾う