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