Thanks!!!

On Sat, Feb 15, 2014 at 1:10 AM, Massimo Di Pierro <
[email protected]> wrote:

> python web2py.py -S welcome -M -R tito.py -A param1 param2
>
>
> On Friday, 14 February 2014 16:35:15 UTC-6, Tito Garrido wrote:
>>
>> Hi Folks,
>>
>> Just a simple test... an external script:
>> $: cat tito.py
>> import sys
>> print sys.argv
>>
>> Then running with web2py:
>> $ python web2py.py -S welcome -M -R tito.py param1 param2
>> web2py Web Framework
>> Created by Massimo Di Pierro, Copyright 2007-2014
>> Version 2.8.2-stable+timestamp.2013.11.28.13.54.07
>> Database drivers available: SQLite(sqlite3), MySQL(pymysql),
>> PostgreSQL(pg8000), MSSQL(pyodbc), DB2(pyodbc), Teradata(pyodbc),
>> Ingres(pyodbc), IMAP(imaplib)
>> ['tito.py']
>>
>> *How could I grab the parameters that I need for my script from shell?*
>>
>> Regards,
>>
>> Tito
>>
>> --
>>
>> Linux User #387870
>> .........____
>> .... _/_õ|__|
>> ..º[ .-.___.-._| . . . .
>> .__( o)__( o).:_______
>>
>  --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 

Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to