Hey Marlysson, This command doesn't work. But thanks for your time to try to help.
Anthony has told me the correct command is: web2py.exe -S your_application -M Cheers On Mon, Mar 6, 2017 at 3:46 PM, Marlysson Silva <marlyss...@gmail.com> wrote: > python web2py.exe -S your_application -M > > Em segunda-feira, 6 de março de 2017 11:14:53 UTC-3, Paul Ellis escreveu: >> >> Yes. I want an interactive shell with my application loaded. >> >> I know I can run a 'Test' page with output to the console, but it would >> be much easier (and I know possible) if I could use an interactive shell. >> >> I have seen Massimo using it in his videos. But I can' t get the command >> to work. >> >> On Mon, Mar 6, 2017 at 2:36 PM, Marlysson Silva <marly...@gmail.com> >> wrote: >> >>> Try just double click in web2py.exe , it open a server in a screen. >>> >>> Or are you trying accessing models of application via shell? >>> >>> Em segunda-feira, 6 de março de 2017 09:14:34 UTC-3, Paul Ellis escreveu: >>> >>>> Hello, >>>> >>>> I know this question has been asked before, but didn't solve the >>>> problem for me. >>>> >>>> I am using Windows 10 and web2py binary and have replaced web2py.py >>>> with web2py.exe in the command python web2py.py -s [applicaiton] -m and am >>>> getting this error: >>>> >>>> python web2py.exe -s [application] -m >>>> SyntaxError: Non-ASCII character '\x90' in file web2py.exe on line 1, >>>> but no encoding declared; see http://python.org/dev/peps/pep-0263/ for >>>> details >>>> >>>> I have also tried: >>>> python web2py.exe >>>> >>>> e:\web2py\py web2py.exe >>>> this gives a traceback, but the same error: >>>> Traceback (most recent call last): >>>> File "<string>", line 6, in <module> >>>> File "__main__.py", line 126, in <module> >>>> File "__main__py__.py", line 60, in <module> >>>> File "web2py.exe", line 1 >>>> SyntaxError: Non-ASCII character '\x90' in file web2py.exe on line 1, >>>> but no encoding declared; see http://python.org/dev/peps/pep-0263/ for >>>> details >>>> >>>> What am I doing wrong? >>>> >>>> Cheers >>>> >>> -- >>> 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 a topic in the >>> Google Groups "web2py-users" group. >>> To unsubscribe from this topic, visit https://groups.google.com/d/to >>> pic/web2py/T1OH6haDHHM/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> web2py+un...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/web2py/T1OH6haDHHM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.