def _expopts(self, opts):
optstr = '<STR_LIT>'<EOL>if len(opts):<EOL><INDENT>for key in opts:<EOL><INDENT>if len(str(opts[key])):<EOL><INDENT>if key == '<STR_LIT>':<EOL><INDENT>optstr += '<STR_LIT>'<EOL>optstr += "<STR_LIT:'>" + '<STR_LIT>' % ord(opts[key].encode(self._io.sascfg.encoding)) + "<STR_LIT>"<EOL><DEDENT>elif key == '<STR_LIT>':<EOL><INDENT>optstr += '<STR_LIT>'<EOL>if opts[key]:<EOL><INDENT>optstr += '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>optstr += '<STR_LIT>'<EOL><DEDENT><DEDENT><DEDENT><DEDENT><DEDENT>return optstr<EOL>
:param opts: a dictionary containing any of the following Proc Export options(delimiter, putnames):

    - delimiter    is a character
    - putnames     is a boolean

    .. code-block:: python

                     {'delimiter'   : ',''
                      'putnames'    : True
                     }
:return: str