original_docstring: 
          Attempts to load file with .shp extension as both lower and upper case
          
docstring: Attempts to load file with .shp extension as both lower and upper case
docstring_tokens: Attempts to load file with . shp extension as both lower and upper case
code: def load_shp(self, shapefile_name):
          """
          Attempts to load file with .shp extension as both lower and upper case
          """
          shp_ext = 'shp'
          try:
              self.shp = open("%s.%s" % (shapefile_name, shp_ext), "rb")
          except IOError:
              try:
                  self.shp = open("%s.%s" % (shapefile_name, shp_ext.upper()), "rb")
              except IOError:
                  pass
code_tokens: def load_shp ( self , shapefile_name ) : shp_ext = 'shp' try : self . shp = open ( "%s.%s" % ( shapefile_name , shp_ext ) , "rb" ) except IOError : try : self . shp = open ( "%s.%s" % ( shapefile_name , shp_ext . upper ( ) ) , "rb" ) except IOError : pass
short_docstring: Attempts to load file with .shp extension as both lower and upper case
short_docstring_tokens: Attempts to load file with . shp extension as both lower and upper case
comment: """
          Attempts to load file with .shp extension as both lower and upper case
          """