<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parts(path):
 # type: (Text) -> List[Text] """Split a path in to its component parts. Arguments: path (str):
 Path to split in to parts. Returns: list: List of components Example: ['/', 'foo', 'bar', 'baz'] """

    _path = normpath(path)
    components = _path.strip("/")

    _parts = ["/" if _path.startswith("/") else "./"]
    if components:
        _parts += components.split("/")
    return _parts