You could consider putting common code in files under modules and use a local_import to pull it in. During development set the optional reload=True parameter or you have to restart the server to make a modification in a module file visible.
- [web2py] Help with function call weheh
- [web2py] Re: Help with function call ron_m

