text: import os
  import logging
  
  logging.basicConfig(
      filename = os.path.dirname(os.path.realpath(__file__)) + '_write_to_md.txt', 
      filemode= 'w', 
      level=logging.DEBUG,
      format = '%(asctime)s %(name)-12s %(levelname)-8s %(message)s', 
      )