code: def _download(url, path, filename):
      fn = os.path.join(path, filename)
      if os.path.exists(fn):
          return
  
      os.makedirs(path, exist_ok=True)
      f_remote = requests.get(url, stream=True)
      sz = f_remote.headers.get("content-length")
      assert f_remote.status_code == 200, "fail to open {}".format(url)
      with open(fn, "wb") as writer:
          for chunk in f_remote.iter_content(chunk_size=1024 * 1024):
              writer.write(chunk)
      print("Download finished.")
  
imports: import inspect
  import json
  import os
  import pickle
  import shutil
  import time
  import zipfile
  from functools import partial, reduce, wraps
  from timeit import default_timer
  import dgl
  import numpy
  import pandas
  import requests
  import torch
  from ogb.nodeproppred import DglNodePropPredDataset
  import traceback
  from _thread import start_new_thread
  import torch.multiprocessing
label_desc: Use image node_id 1 for calling a global function with example usage: _download(url, path, filename) without return types