Re: [Dorset] Cross-platform python development for windows.

2018-03-03 Thread Hamish MB
Pyinstaller sounds like a good idea. He's already written it by the sounds of 
it. Is that Go code? I've heard a lot about Go recently.

Hamish
On 3 Mar 2018, at 18:10, Ralph Corderoy 
> wrote:

Hi Rafi,

 I've been looking into things like Py2exe and Pyinstaller, but they
 all require Windows to freeze .exe. Any Idea how I'd go about it on my
 machine? Perhaps using wine somehow?

https://github.com/pyinstaller/pyinstaller/wiki/FAQ#features says to use
WINE for production from Linux, and links to a mailing-list thread.
Good luck.

Or, you could use a language that ships a cross-compiling compiler by
default, and includes producing Windows EXEs.  :-)
https://tour.golang.org/welcome/1

$ cat hellow.go
package main

import (
"fmt"
)

func main() {
fmt.Println("Hello, playground")
}
$ GOOS=windows go build
$ file a.out.exe
a.out.exe: PE32+ executable (console) x86-64 (stripped to external
PDB), for MS Windows
$

Cheers, Ralph.
-- 
Next meeting:  Bournemouth, Tuesday, 2018-03-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

Re: [Dorset] Cross-platform python development for windows.

2018-03-03 Thread Ralph Corderoy
Hi Rafi,

> I've been looking into things like Py2exe and Pyinstaller, but they
> all require Windows to freeze .exe. Any Idea how I'd go about it on my
> machine? Perhaps using wine somehow?

https://github.com/pyinstaller/pyinstaller/wiki/FAQ#features says to use
WINE for production from Linux, and links to a mailing-list thread.
Good luck.

Or, you could use a language that ships a cross-compiling compiler by
default, and includes producing Windows EXEs.  :-)
https://tour.golang.org/welcome/1

$ cat hellow.go
package main

import (
"fmt"
)

func main() {
fmt.Println("Hello, playground")
}
$ GOOS=windows go build
$ file a.out.exe
a.out.exe: PE32+ executable (console) x86-64 (stripped to external
PDB), for MS Windows
$

Cheers, Ralph.

-- 
Next meeting:  Bournemouth, Tuesday, 2018-03-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

Re: [Dorset] Revisited - Accessing a Local Network over a Wireless Router that is NOT Connected to the Internet

2018-03-03 Thread Terry Coles
On Thursday, 1 March 2018 07:01:28 GMT Terry Coles wrote:
> I don't suppose it would work if we got a Certificate for wimborne-
> modeltown.com and added that to the DNS on the internal server, then simply
> told them to go to WMT.com which would also be available on that server?
> (Maybe by redirection.)

Can anyone comment on this query..

> So.  If we got a certificate for wimborne-modeltown.com, would the server
> need to have that Certificate installed (more contractor work).

 and this...

-- 



Terry Coles

-- 
Next meeting:  Bournemouth, Tuesday, 2018-03-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR