original_docstring: Calculates the file length of the shp file.
docstring: Calculates the file length of the shp file.
docstring_tokens: Calculates the file length of the shp file .
code: def __shpFileLength(self):
          """Calculates the file length of the shp file."""
          # Remember starting position
          start = self.shp.tell()
          # Calculate size of all shapes
          self.shp.seek(0,2)
          size = self.shp.tell()
          # Calculate size as 16-bit words
          size //= 2
          # Return to start
          self.shp.seek(start)
          return size
code_tokens: def __shpFileLength ( self ) : start = self . shp . tell ( ) self . shp . seek ( 0 , 2 ) size = self . shp . tell ( ) size //= 2 self . shp . seek ( start ) return size
short_docstring: Calculates the file length of the shp file.
short_docstring_tokens: Calculates the file length of the shp file .
comment: """Calculates the file length of the shp file."""$SEP$# Remember starting position
  $SEP$# Calculate size of all shapes
  $SEP$# Calculate size as 16-bit words
  $SEP$# Return to start
  