title: dxf file parsing with dxfgrabber library in the python
body: <p>I want to parse dxf file for obtain objects (line, point, text and so on)  with dxfgrabber library.</p>
  
  <p>The code is as below</p>
  
  <pre><code>#!/usr/bin/env python
  import dxfgrabber
  
  dxf = dxfgrabber.readfile("1.dxf")
  print ("DXF version : {}".format(dxf.dxfversion))
  </code></pre>
  
  <p>But it gets some error...</p>
  
  <pre><code>Traceback (most recent call last):
    File "parsing.py", line 6, in &lt;module&gt;
      dxf = dxfgrabber.readfile("1.dxf")
    File "/usr/local/lib/python2.7/dist-packages/dxfgrabber/__init__.py", line 43, in readfile
      with io.open(filename, encoding=get_encoding()) as fp:
    File "/usr/local/lib/python2.7/dist-packages/dxfgrabber/__init__.py", line 39, in get_encoding
      info = dxfinfo(fp)
    File "/usr/local/lib/python2.7/dist-packages/dxfgrabber/tags.py", line 96, in dxfinfo
      tag = next(tagreader)
    File "/usr/local/lib/python2.7/dist-packages/dxfgrabber/tags.py", line 52, in __next__
      return next_tag()
    File "/usr/local/lib/python2.7/dist-packages/dxfgrabber/tags.py", line 45, in next_tag
      raise StopIteration()
  StopIteration
  </code></pre>
  
  <p>The simple 1.dxf file only contain line.</p>
  
  <p>file link is <a href="https://docs.google.com/file/d/0BySHG7k180kETlQ2UnRxQmxoUk0/edit?usp=sharing" rel="nofollow">https://docs.google.com/file/d/0BySHG7k180kETlQ2UnRxQmxoUk0/edit?usp=sharing</a></p>
  
  <p>Is this bug of dxfgrabber library?
  Is there any good library for parsing dxf file in the python?</p>
  
  <p>I am using dxfgrabber 0.4 and python 2.7.3.</p>