code: def main(srcfile):
      """Open a dataset in an iteractive session."""
      with fiona.drivers():
          with fiona.open(srcfile) as src:
              code.interact(
                  "Fiona %s Interactive Inspector (Python %s)\n"
                  'Type "src.schema", "next(src)", or "help(src)" '
                  "for more information."
                  % (
                      fiona.__version__,
                      ".".join(map(str, sys.version_info[:3])),
                  ),
                  local=locals(),
              )
  
      return 1
  
imports: import code
  import logging
  import sys
  import fiona
label_desc: Use image node_id 1 for calling a global function with example usage: main(srcfile) and returns: int