code: def bytes_to_str(b):
      ret = b
      if six.PY3:
          # Convert the bytes to a string.
          ret = ret.decode()
      return ret
  
imports: import os
  import datetime
  import tempfile
  import shutil
  import subprocess
  import six
  from .None import common
  from pyalgotrade.tools import quandl
  from pyalgotrade import bar
  from pyalgotrade.barfeed import quandlfeed
label_desc: Use image node_id 1 for calling a global function with example usage: bytes_to_str(b) and returns: ret