4 ms·
I have tried MicroPython a little, but managing the subtle differences tends to throw me, especially since I update DOS scripts only irregularly. The LFN issue
by vn_triv_co 3y ago
I have tried MicroPython a little, but managing the subtle differences tends to throw me, especially since I update DOS scripts only irregularly.
The LFN issue is funny! I do know that the older available PYTHOND.EXE also returns
>>> ImportError: No module named encodings
on `import encodings` unless I run DOSLFN.EXE beforehand.
I think I understand that your *nofreeze.exe is the fast version of the application,
and requires DOSLFN, the standard library in a separate directory structure, and specified with %PYTHONPATH% for `import encodings` to work.
Anyway, your *freeze.exe application has no external dependency aside from standard DPMI extender, is portable, and is great for my usage. Half a minute to start up in a virtual environment
is perfectly fine, since I develop the system administration scripts on a more modern machine anyway.
- coolcoder613eb 3y agoI did not realize that anyone would find my hack useful! I'm curious to know, what will you use it for? What kind of DOS software are you using?
- vn_triv_co 3y agoDefinitely! With DOS, I personally am interested in hobby graphics applications, but I know the platform still appears in business applications such as point-of-sale terminals, for supporting legacy file formats, or by professionals in a niche field that prefer a specific workflow, like with the 16-bit versions of ArcView.
- coolcoder613eb 3y agoThe difference between -freeze and -nofreeze is that -freeze is built with the RustPython freeze-stdlib feature, while -nofreeze is not.
- vn_triv_co 3y agoAh, I understand better, thank you!