<?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 Re: dbfpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/dbfpy/m-p/394027#M31179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I dig into this thing, it seems quite antiquated.&amp;nbsp; I think it's going to require a complete over haul, but figuring out the logic is going to be quite the challenge. From an Idle/Python 2.7.14 shell I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] on win32&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Type "copyright", "credits" or "license()" for more information.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;&amp;gt; import dbfpy&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Traceback (most recent call last):&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; File "&amp;lt;pyshell#0&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; import dbfpy&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ImportError: No module named dbfpy&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;&amp;gt; from dbfpy import dbf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Traceback (most recent call last):&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; File "&amp;lt;pyshell#1&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; from dbfpy import dbf&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ImportError: No module named dbfpy&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your question Johsua, yes, it uses arcpy functions/gp tools.&amp;nbsp; It uses one I haven't seen... ever...:&amp;nbsp;arcpy.SetProduct("ArcInfo")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Sep 2019 20:07:33 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2019-09-19T20:07:33Z</dc:date>
    <item>
      <title>dbfpy</title>
      <link>https://community.esri.com/t5/python-questions/dbfpy/m-p/394025#M31177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to revive a deprecated python script that originally was written with 2.x python and an older (than 10.6) version of ArcGIS Desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It imports dbfpy and from dfbpy imports dbf.&amp;nbsp; I'm not familiar with it, except for the obvious that it allows dbf files to be read and written to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My googling so far hasn't found a 3.x equivalent.&amp;nbsp; Is there one?&amp;nbsp; I notice in the ArcGIS Pro 2.4&amp;nbsp; Add packages pane, there is dbf:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/459991_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if I'll end up porting this script to 3.x or not, but I want to hedge my bets if I do....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 19:42:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/dbfpy/m-p/394025#M31177</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-09-19T19:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: dbfpy</title>
      <link>https://community.esri.com/t5/python-questions/dbfpy/m-p/394026#M31178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the script already using ArcPy?&amp;nbsp; If so, just use ArcPy functions or ArcGIS geoprocessing tools.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 19:55:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/dbfpy/m-p/394026#M31178</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-09-19T19:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: dbfpy</title>
      <link>https://community.esri.com/t5/python-questions/dbfpy/m-p/394027#M31179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I dig into this thing, it seems quite antiquated.&amp;nbsp; I think it's going to require a complete over haul, but figuring out the logic is going to be quite the challenge. From an Idle/Python 2.7.14 shell I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] on win32&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Type "copyright", "credits" or "license()" for more information.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;&amp;gt; import dbfpy&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Traceback (most recent call last):&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; File "&amp;lt;pyshell#0&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; import dbfpy&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ImportError: No module named dbfpy&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;&amp;gt; from dbfpy import dbf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Traceback (most recent call last):&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; File "&amp;lt;pyshell#1&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; from dbfpy import dbf&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ImportError: No module named dbfpy&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your question Johsua, yes, it uses arcpy functions/gp tools.&amp;nbsp; It uses one I haven't seen... ever...:&amp;nbsp;arcpy.SetProduct("ArcInfo")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 20:07:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/dbfpy/m-p/394027#M31179</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-09-19T20:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: dbfpy</title>
      <link>https://community.esri.com/t5/python-questions/dbfpy/m-p/394028#M31180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the scripts are already using arcpy, I would just use various arcpy functions or geoprocessing tools to interact with DBFs.&amp;nbsp; The less modules you need to import and rely on, the better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 21:47:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/dbfpy/m-p/394028#M31180</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-09-19T21:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: dbfpy</title>
      <link>https://community.esri.com/t5/python-questions/dbfpy/m-p/394029#M31181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to comment out the set product statement as that has not been required for some time.&amp;nbsp; Good luck!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 21:50:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/dbfpy/m-p/394029#M31181</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2019-09-19T21:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: dbfpy</title>
      <link>https://community.esri.com/t5/python-questions/dbfpy/m-p/394030#M31182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah... that's the least of it....&amp;nbsp;&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 22:31:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/dbfpy/m-p/394030#M31182</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-09-19T22:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: dbfpy</title>
      <link>https://community.esri.com/t5/python-questions/dbfpy/m-p/394031#M31183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;conda options for dbf ... try to avoid pip Joe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://anaconda.org/anaconda/dbf" title="https://anaconda.org/anaconda/dbf"&gt;https://anaconda.org/anaconda/dbf&lt;/A&gt; &amp;nbsp;&amp;nbsp; # also listed here for python 3.6/3.7, but not installed by default&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.anaconda.com/anaconda/packages/py3.7_win-64/" title="https://docs.anaconda.com/anaconda/packages/py3.7_win-64/"&gt;Packages for 64-bit Windows with Python 3.7 — Anaconda 2.0 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also comes up but not distributed in the package&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://anaconda.org/conda-forge/dbfread" title="https://anaconda.org/conda-forge/dbfread"&gt;https://anaconda.org/conda-forge/dbfread&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 23:58:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/dbfpy/m-p/394031#M31183</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-09-19T23:58:23Z</dc:date>
    </item>
  </channel>
</rss>

