<?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 Python file-read-file: Help to convert output from HEX to ASCII in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Python-file-read-file-Help-to-convert-output-from-HEX-to-ASCII/m-p/102734#M1429</link>
    <description>&lt;P&gt;&lt;STRIKE&gt;Hi, I'm using Python api file-read-file to reade the /etc/messages but I'm getting the following error:&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;&amp;nbsp;&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;&lt;STRONG&gt;&amp;lt;results errno="14006" reason="Can't read more than 1MB at a time on file" status="failed"&amp;gt;&amp;lt;/results&amp;gt;&lt;/STRONG&gt;&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;&amp;nbsp;&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;&amp;nbsp;&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found out that the file-read-file API give the outcome data as HEX. Is there anyway to get the results in ASCII when using sprintf()? Is there any other way to print the results in ASCII instead of HEX?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;O&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 04:39:39 GMT</pubDate>
    <dc:creator>Ose</dc:creator>
    <dc:date>2025-06-05T04:39:39Z</dc:date>
    <item>
      <title>Python file-read-file: Help to convert output from HEX to ASCII</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Python-file-read-file-Help-to-convert-output-from-HEX-to-ASCII/m-p/102734#M1429</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;Hi, I'm using Python api file-read-file to reade the /etc/messages but I'm getting the following error:&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;&amp;nbsp;&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;&lt;STRONG&gt;&amp;lt;results errno="14006" reason="Can't read more than 1MB at a time on file" status="failed"&amp;gt;&amp;lt;/results&amp;gt;&lt;/STRONG&gt;&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;&amp;nbsp;&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRIKE&gt;&amp;nbsp;&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found out that the file-read-file API give the outcome data as HEX. Is there anyway to get the results in ASCII when using sprintf()? Is there any other way to print the results in ASCII instead of HEX?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;O&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:39:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Python-file-read-file-Help-to-convert-output-from-HEX-to-ASCII/m-p/102734#M1429</guid>
      <dc:creator>Ose</dc:creator>
      <dc:date>2025-06-05T04:39:39Z</dc:date>
    </item>
  </channel>
</rss>

