Hacker News new | ask | show | jobs
by redstripe 3061 days ago
Was there ever a DOS binary? That would be worth firing up a VM for.
5 comments

There was. I used to maintain one for a while, compiled with DJGPP, long ago (obviously). Links might still work: https://web.archive.org/web/20080828160609/http://zephyrfalc...
http://legacy.python.org/download/other/:

”Python for MS-DOS

Python 2.4.2 for DOS/DPMI, built on the DJGPP platform, is also available”.

So, yes, there was one. The link (http://www.caddit.net/pythond) works, and seems to still have the binary. You will need a ”proper Long Filename Driver for your platform” to fully enjoy it.

I learned Python 1.4 on DOS (with DJGPP). I think there were binary releases, but you couldn't use them if you needed any third-party C modules. There was no dynamic linking on DOS so you needed to statically link any C code you were using into python.exe. This was a huge pain but it also taught me a ton about both C and Python.
DOS was supported into the 2.x days. IIRC, 2.3 or whereabouts was the last supported version for DOS.