input: import urllib.parse
  
  def parse_url(url: str) -> None:
      """ Parse the given URL and print out the protocol, domain name, and path."""
      """
      >>> parse_url('https://www.example.com/path/to/file')
      Protocol: https
      Domain name: www.example.com
      Path: /path/to/file
      """
output:     parsed_url = urllib.parse.urlparse(url)
      print(f"Protocol: {parsed_url.scheme}")
      print(f"Domain name: {parsed_url.netloc}")
      print(f"Path: {parsed_url.path}")