Funny, it was something very simple thing, but someone in the office did not want to install some prerequisit program to his machine. It had to be included in the executable. (The script eased his daily work.)but it is noooot for desktop apps.
FindString to support whole words
Re: FindString to support whole words
Re: FindString to support whole words
No it doesn't, at least if you do some neat optimizations and remove unneeded libraries with Nuitka.NicTheQuick wrote: Thu May 15, 2025 3:06 pm Well, you can not compare a language that gets compiled into an executable with a script language that needs a VM. Also regular expressions are one of the included libraries of Python. So if you use it or not, it has always the same size. And I don't know anybody who compiles Python into an executable. Maybe some Windows guys do weird things like that. On Linux I never saw that. It compiles itself into bytecode but that's all.
You asked who's compiling python to binaries? Well:
https://github.com/pyinstaller/pyinstaller
https://github.com/py2exe/py2exe
https://github.com/Nuitka/Nuitka
https://github.com/marcelotduarte/cx_Freeze
https://github.com/ronaldoussoren/py2app
https://github.com/beeware/briefcase
and probably more...
- NicTheQuick
- Addict
- Posts: 1519
- Joined: Sun Jun 22, 2003 7:43 pm
- Location: Germany, Saarbrücken
- Contact:
Re: FindString to support whole words
I know that these things exist but I never saw an actual app using it. And I am working with Python since 15 years or so.Quin wrote: Thu May 15, 2025 3:31 pmNo it doesn't, at least if you do some neat optimizations and remove unneeded libraries with Nuitka.NicTheQuick wrote: Thu May 15, 2025 3:06 pm Well, you can not compare a language that gets compiled into an executable with a script language that needs a VM. Also regular expressions are one of the included libraries of Python. So if you use it or not, it has always the same size. And I don't know anybody who compiles Python into an executable. Maybe some Windows guys do weird things like that. On Linux I never saw that. It compiles itself into bytecode but that's all.
You asked who's compiling python to binaries? Well:
https://github.com/pyinstaller/pyinstaller
https://github.com/py2exe/py2exe
https://github.com/Nuitka/Nuitka
https://github.com/marcelotduarte/cx_Freeze
https://github.com/ronaldoussoren/py2app
https://github.com/beeware/briefcase
and probably more...
Regarding Nuitka: I am talking about the standard Python installation you get with `apt install python3` on Ubuntu for example. The RegEx library is there. Of course you can modify everything to death. But why? These are corner cases.
And now enough OffTopic. Let's got back to FindString.
Last edited by NicTheQuick on Thu May 15, 2025 7:22 pm, edited 1 time in total.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Re: FindString to support whole words
As for a big company using Python for apps, Dropbox is a huge one. Reverse engineering that and unscrambling their opcodes was a fun way to learn about the CPython internals as a 15-year-old.
Now, back to the real topic at hand
Now, back to the real topic at hand
