<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Search.Jobs.Export CSV Results - Python SDK in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Search-Jobs-Export-CSV-Results-Python-SDK/m-p/502260#M85582</link>
    <description>&lt;P&gt;I am using the most current version of Python - Splunk SDK.  I am currently upgrading from Python 2.7 to 3.6.&lt;/P&gt;

&lt;P&gt;This code works for python 2.7 and returns A CSV (correct response).  When implementing the same code below and search the response is a ResponseReader Object for 3.6.  Can someone explain why I would get 2 different responses when upgrading to 3.6?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;kwargs_export = {
        "search_mode": "normal",
        "output_mode": "csv"
                    }
create_search_results = service.jobs.export(myquery, **kwargs_export)
for item in create_search_results:
    print(create_search_results)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 06 Dec 2019 13:38:46 GMT</pubDate>
    <dc:creator>cchadwick75</dc:creator>
    <dc:date>2019-12-06T13:38:46Z</dc:date>
    <item>
      <title>Search.Jobs.Export CSV Results - Python SDK</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-Jobs-Export-CSV-Results-Python-SDK/m-p/502260#M85582</link>
      <description>&lt;P&gt;I am using the most current version of Python - Splunk SDK.  I am currently upgrading from Python 2.7 to 3.6.&lt;/P&gt;

&lt;P&gt;This code works for python 2.7 and returns A CSV (correct response).  When implementing the same code below and search the response is a ResponseReader Object for 3.6.  Can someone explain why I would get 2 different responses when upgrading to 3.6?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;kwargs_export = {
        "search_mode": "normal",
        "output_mode": "csv"
                    }
create_search_results = service.jobs.export(myquery, **kwargs_export)
for item in create_search_results:
    print(create_search_results)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Dec 2019 13:38:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-Jobs-Export-CSV-Results-Python-SDK/m-p/502260#M85582</guid>
      <dc:creator>cchadwick75</dc:creator>
      <dc:date>2019-12-06T13:38:46Z</dc:date>
    </item>
  </channel>
</rss>

