On Wednesday, November 22, 2017 at 9:19:51 PM UTC-8, mostwanted wrote:
>
> Hi guys, i am trying to make my application a widnows desktop app, (i'm 
> from Ubuntu), i'm reading the steps in the link below
>
> http://web2py.com/books/default/chapter/29/14/other-recipes#How-to-distribute-your-applications-as-binaries
>  
> <http://www.google.com/url?q=http%3A%2F%2Fweb2py.com%2Fbooks%2Fdefault%2Fchapter%2F29%2F14%2Fother-recipes%23How-to-distribute-your-applications-as-binaries&sa=D&sntz=1&usg=AFQjCNEt3CSdv7n3AlmWRqkiHuAGq3B6UA>
> I am assuming where is says 
>
>    - *Download a web2py windows binary distribution*
>
> it means downloading the version that runs on windows(right?)
>
>
> but i get stuck when i get to this line 
>
>    - *Create a file "myapp/start.bat" that contains "web2py/web2py.exe"*
>
>
".bat" is roughly equivalent to ".sh".  So you're making a script that will 
start web2py in the directory you just downloaded it to.

This script is a one-liner (unless you get fancy), and it just specifies 
the relative path to the executable.  And you should probably change the 
slashes ("/") to backslashes ("\") because you have to do tricks to get 
windows take slash as a path separator.

(web2py.exe has the python interpreter wrapped inside, unlike linux where 
you would say "python web2py/web2py.py")
 

> Can someone please break it down and simplify it for me, i'm not sure i 
> understand it
>
> Thanks
>
>
HTH

/dps
 

-- 
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/d/optout.

Reply via email to