python dbf struct.error:unpack需要长度为4的字符串参数

时间:2015-08-10 13:52:56

标签: python

我有一个程序可以检测dbf文件中的更改并将其上传到mysql数据库。它一直在努力到今天。

<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container-fluid">
      <!-- Brand and toggle get grouped for better mobile display -->
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#topFixedNavbar1"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>
        <a class="navbar-brand" href="index.html">Brand</a></div>
      <!-- Collect the nav links, forms, and other content for toggling -->
      <div class="collapse navbar-collapse" id="topFixedNavbar1">
        <ul class="nav navbar-nav navbar-right">
          <li><a href="#">About</a></li>
          <li><a href="#">News</a></li>
          <li class="divider"></li>
          <li><a href="#">Assessments</a></li>
          <li><a href="#">Improvements</a></li>
          <li><a href="#">Incident Response</a></li>
          <li class="divider"></li>
          <li><a href="#">Contact</a></li>
        </ul>

      </div>
      <!-- /.navbar-collapse -->
    </div>
    <!-- /.container-fluid -->
  </nav>

我已经对代码进行了条带化​​以迭代dbf文件,但我仍然遇到同样的错误。

Getting struct.error: unpack requires a string argument of length 4

0 个答案:

没有答案