code: def basecompiledir_ls():
      """
      Print list of files in the "theano.config.base_compiledir"
      """
      subdirs = []
      others = []
      for f in os.listdir(config.base_compiledir):
          if os.path.isdir(os.path.join(config.base_compiledir, f)):
              subdirs.append(f)
          else:
              others.append(f)
  
      subdirs = sorted(subdirs)
      others = sorted(others)
  
      print("Base compile dir is %s" % theano.config.base_compiledir)
      print("Sub-directories (possible compile caches):")
      for d in subdirs:
          print("    %s" % d)
      if not subdirs:
          print("    (None)")
  
      if others:
          print()
          print("Other files in base_compiledir:")
          for f in others:
              print("    %s" % f)
  
file_path: Theano/theano/gof/compiledir.py
imports: from __future__ import absolute_import, print_function, division
  import six.moves.cPickle
  import logging
  import os
  import shutil
  import numpy
  import theano
  from six import string_types, iteritems
  from theano import config
  from theano.gof.utils import flatten
label_desc: Use image node_id 5 for calling a global function with example usage: basecompiledir_ls() without return types