See the command line options: 
http://web2py.com/book/default/chapter/04#Command-Line-Options
 
In particular, -S to run a web2py app in an interactive shell, and -M to 
load the models of the app.
 
Anthony

On Friday, February 18, 2011 1:24:09 PM UTC-5, saschpe wrote:

> Hi guys, 
>
> is there any way to drop into a Python shell on the command line with all 
> relevant models loaded for a specific app? I'm searching for something 
> similar 
> like the admin interface shell or django's db shell.
> -- 
> Mit freundlichen Grüßen,
> Sascha Peilicke
> http://saschpe.wordpress.com
>

Reply via email to