also [1]:
...
python web2py.py -S app -M -R applications/app/private/myscript.py -A a b c
where -S app tells web2py to run "myscript.py" as "app", -M tells
web2py to execute models, and -A a b c passes optional command line
arguments sys.argv=['applications/app/private/myscript.py','a','b','c']
t
On Wednesday, February 10, 2016 at 2:01:52 PM UTC-8, snehalash...@gmail.com
wrote:
>
> can we write the python script inweb2py
>
There are 2 answers to this. Web2Py depends on a Python installation. (In
Windows, it's own copy is packaged with Web2py). You can run ordinary
Python scripts in t
2 matches
Mail list logo