First post, by doshea
- Rank
- Member
Replying to a post from another thread here before I get in trouble for going way off topic in that thread 😁
Aqua wrote on 2023-08-01, 02:30:About Python for Windows 3.x: I've only found this Version on the Python Server.. https://www.python.org/ftp/python/pc/ […]
About Python for Windows 3.x:
I've only found this Version on the
Python Server..
https://www.python.org/ftp/python/pc/If you have a Link with a Higher Version from
Python, please let ne know..
See this text at the top of that page:
Notice: this stuff is old. More recent binaries for
DOS and Windows are found in ../wpy/ and ../pythonwin/.
../wpy/ seems to be a symlink to https://www.python.org/ftp/python/binaries-1.4/wpy/ (both directories have the same contents), see below for more information. I don't know what is in that pythonwin directory.
Python 1.5 for Windows 3.x 16-bit with WPY
I downloaded files from https://www.python.org/ftp/python/binaries-1.4/wpy/ some time ago and have these notes:
wpypcsrc.tgz "WPY" portable GUI library for Python source
wpyset31.exe WPY Python 1.5 for Windows 3.1
wpysetup.exe WPY Python 1.5 for Windows 95/NT
And yes, they are version 1.5 binaries in a directory with "1.4" in its name. From readme.txt in wpypcsrc.tgz, this is what "WPY" is:
This is the "WPY" portable GUI library for Python. It is a class library system based on the Microsoft Foundation Classes used […]
This is the "WPY" portable GUI library for Python. It is a class library
system based on the Microsoft Foundation Classes used for writing GUI code
easily in Python. It is designed for simplicity and portability. It is
under active development, but is useful for real projects now.This version runs on Microsoft Windows and Unix/X using Tk. Python programs
written using this "WPY" GUI library will run under Windows NT and 95,
Windows 3.1, and under Unix/X without changes and with native look and feel.
I can't remember how well it worked - it worked at least a bit - but I was surprised that it existed at all! Also from my notes:
wpyset31.exe ... lacks libraries; pylib.zip in the same directory is 1.4 libraries for DOS/Windows 3.1. It requires WINSOCK but not Win32s.
Oops, I think I said in the other thread that Python requires Win32s! Some of the builds do but this one doesn't. I can't recall whether the Python 1.4 libraries worked with the Python 1.5 binaries. I found lib1.5.tar.gz somewhere on the site and I think I had to use that.
Other builds
https://www.python.org/ftp/python/binaries-1.3/ has a pythonwin.zip, its readme.txt says it requires Win32s.
There are Windows installers for 1.5.2 and 1.6.1 at the following URLs, but I don't know if they support Windows 3.x. The 1.6.1 binary is a PE32 but then maybe it still works with Win32s?
https://www.python.org/download/releases/1.5/
https://www.python.org/download/releases/1.6.1/