code: def _print(*args):
      
      if not CFG.debug:
          return
      if not args:
          return
      encoding = 'gbk'
      args = [_cs(a, encoding) for a in args]
      f_back = None
      try:
          raise Exception
      except:
          f_back = sys.exc_traceback.tb_frame.f_back
      f_name = f_back.f_code.co_name
      filename = os.path.basename(f_back.f_code.co_filename)
      m_name = os.path.splitext(filename)[0]
      prefix = ('[%s.%s]'%(m_name, f_name)).ljust(20, ' ')
      if os.name == 'nt':
          for i in range(len(args)):
              v = args [i]
              if isinstance(v, str):
                  args[i] = v #v.decode('utf8').encode('gbk')
              elif isinstance(v, unicode):
                  args[i] = v.encode('gbk')
      print '[%s]'%str(datetime.datetime.now()), prefix, ' '.join(args)
docs: Print txt by coding GBK.
  
          *args
            list, list of printing contents