<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def rmnode(path: str):
 """Forcibly remove file or directory tree at `path`. Fail silently if base dir doesn't exist."""

    if isdir(path):
        rmtree(path)
    elif isfile(path):
        os.remove(path)