Yes I do with this command: python web2py.py -S appname -M -N -R /home/martin/web2py/applications/appname/private/myscript.py
2011/3/2 Philip <[email protected]> > This may be a dumb question - Is there a way to type a short python > script into a prompt to execute within an application? I want to > import (once) a number of csv files with a shared dictionary (so > uploading them one at a time through app admin won't work). It seems > a little strange to write a new function within a controller and then > navigate to that url to cause it to execute, so I'm just curious if > there is a simpler way to execute a function that operates within an > app (i.e. interfaces with the database), but doesnt require a web > interaction or view. > > Thanks > -- Pablo Martín Mulone ([email protected]) http://www.tecnodoc.com.ar/ My blog: http://martin.tecnodoc.com.ar Expert4Solution Profile: http://www.experts4solutions.com/e4s/default/expert/6

