News for hackers. Stuff that matters.
Re:Guido van Rossum joins Microsoft by sireat on Thursday November 12, 2020 @03:25PM (#25074455)
Solve "How to deploy my sweet Python script on grandma's computer" problem.

That is some reasonable way to deploy to someone who is not a programmer nor tech person.

Not sure how much has changed since this was written: http://effbot.org/pyfaq/can-python-be-compiled-to-machine-co...

PyInstaller.. well.. it works okay with std.. sometimes it does not. It is the Electron solution.. add pandas to a project and you get a 600MB install.

As developers we can manage to deal with package managers.

Re:Guido van Rossum joins Microsoft by askvictor on Thursday November 12, 2020 @04:21PM (#25075222)
In the education space (where Python is pretty big), the biggest problem we have is that Python code isn't 'shareable' so it's hard for kids to show off their creations to Grandma. Sure, there are some products which work to work around that (like repl.it), but the core problem remains - a student can't easily get their Python program to run on an arbitrary computer. It's why I'm very tempted to move to JS for teaching, despite all of the dragons lurking there.
Re:Guido van Rossum joins Microsoft by floydnoel on Friday November 13, 2020 @06:54AM (#25081329)
I agree, it’s one of the reasons I stopped teaching my kids Python and switched to JS. It is so easy to share and so portable, and runs everywhere!
Re:Guido van Rossum joins Microsoft by benhurmarcel on Thursday November 12, 2020 @04:57PM (#25075650)
Not just to grandma. I have trouble deploying my scripts to my colleagues.
Re:Guido van Rossum joins Microsoft by anitil on Thursday November 12, 2020 @11:42PM (#25078955)
I had this with a collleague the other day:

1. Install foo

2. No not that foo!

3. Reinstall python

4. Goto 1

Re:Guido van Rossum joins Microsoft by JAlexoid on Friday November 13, 2020 @02:20AM (#25079851)
I did that to myself so many times...
Re:Guido van Rossum joins Microsoft by Pxtl on Thursday November 12, 2020 @04:20PM (#25075217)
Such a shame things like that used to be simple - Py2Exe was fine and Windows didn't freak the hell out at the sight of an unsigned binary.