code: def prepare_WordLMWithSampledSoftmax_ptb_data():
      base_path = os.path.join(
          os.path.dirname(os.path.abspath(__file__)),
          "..",
          "..",
          "..",
          "..",
          "Examples",
          "Text",
          "WordLMWithSampledSoftmax",
          "ptb",
      )
      base_path = os.path.normpath(base_path)
  
      if not os.path.exists(base_path):
          os.makedirs(base_path)
  
      external_data_path = os.path.join(
          os.environ[envvar], "Text", "WordLMWithSampledSoftmax_ptb"
      )
      src_files = [
          "test.txt",
          "token2freq.txt",
          "token2id.txt",
          "train.txt",
          "valid.txt",
          "vocab.txt",
          "freq.txt",
      ]
  
      for src_file in src_files:
          if os.path.isfile(os.path.join(base_path, src_file)):
              continue
          copyfile(
              os.path.join(external_data_path, src_file),
              os.path.join(base_path, src_file),
          )
  
file_path: CNTK/Tests/EndToEndTests/CNTKv2Python/Examples/prepare_test_data.py
imports: import os
  import tarfile
  import zipfile
  from shutil import copyfile
label_desc: Use image node_id 14 for calling a global function with example usage: prepare_WordLMWithSampledSoftmax_ptb_data() without return types