from os.path import join, exists
from httplib import HTTPException
from gluon.sql import DAL, Field
from gluon.validators import *
import eveapi
import datetime
api = eveapi.EVEAPIConnection()
db = DAL('sqlite://sqlite-latest.sqlite')
#----------------------------------------------------------------------------
db.define_table('invTypes')
I haven't figured out how to run a python file as part of an application, so I just make a test.py file inside the root web2py director and run it from command line ("py.exe test.py").
Does anyone know anything I could use to access this database?