from datetime import datetime


def tzdt(fulldate: str):
    """
    Converts an ISO 8601 full timestamp to a Python datetime.

    Parameters
    ----------
    fulldate: str
        ISO 8601 UTC timestamp, e.g. `2017-06-02T16:23:14.815Z`

    Returns
    -------
    :class:`datetime.datetime`
        Python datetime representing ISO timestamp.
    """
    if fulldate[-1] == "Z":
        fulldate = fulldate[0:-1] + "+0000"

    return datetime.strptime(fulldate, "%Y-%m-%dT%H:%M:%S.%f%z")