#This was my solution. import os
db.define_table('sgd_pa_cont_continente',
Field('cont_nombre',writable=False, required=True, notnull=True))
appfolder = os.path.normpath(request.folder)
fileCsv = os.path.join(appfolder, 'static','continente.csv')
db.import_from_csv_file(open(fileCsv, 'rb'))
Thanks for the help....

