python - csv module doesn't work in Google App Engine -
we using google app engine python our application. wrote code exports data csv, using csv module. when try read csv:
import csv users_csv_file = self.request.get("users_csv_file") csv_reader = csv.reader(users_csv_file)
i exception:
attributeerror: 'module' object has no attribute 'reader'
what problem , why can't import csv?
eventually found problem. had directory "csv" , when imported csv
imported local directory, didn't have attribute reader
. renamed directory "_csv" , solved problem.
Comments
Post a Comment