code: def get_file_extension(path: str):
      filename, file_extension = os.path.splitext(path)
      return file_extension
  
imports: import glob
  import json
  import ntpath
  import os
  import pickle
  import re
  import urllib.request
  import zipfile
  from pathlib import Path
  from typing import Optional
  import numpy
label_desc: Use image node_id 7 for calling a global function with example usage: get_file_extension(path) and returns: file_extension