VOGONS


First post, by doshea

User metadata
Rank Member
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/ […]
Show full quote

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 […]
Show full quote

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/

Reply 2 of 4, by analog_programmer

User metadata
Rank Oldbie
Rank
Oldbie

Is this topic a search for the newest Python version installer, that runs on Win3.xx? What's the main idea?

from СМ630 to Ryzen gen. 3
engineer's five pennies: this world goes south since everything's run by financiers and economists
this isn't voice chat, yet some people, overusing online communications, "talk" and "hear voices"

Reply 3 of 4, by Aqua

User metadata
Rank Newbie
Rank
Newbie

@doshea:

Thanks for Sharing !

Now the Date 2001 from the Files in the 1.4 Link are many newer than the
1994 Version 1.01.. 😁
@the Win32 1.5, 1.6 Versions:
Now, i'm testing the Win32s Compatiblity and Report later, if runs well or not.

Regards

Am5x86 PCI 3dfx Voodoo1.
AMD K6-2 500 3dfx Voodoo2 SLI.
Toshiba P200MMX PC Card Wonder.
Dell Optiplex Small PC Intel Core Duo.
Dell Vostro 1000 AMD64 X2 LD-52.

Reply 4 of 4, by doshea

User metadata
Rank Member
Rank
Member
gerry wrote on 2023-08-01, 15:31:

so python does work for win 3.1? or rather did and hence still could 😀

Yeah, I'm pretty sure I ran some of these versions a year or two ago!

analog_programmer wrote on 2023-08-01, 17:35:

Is this topic a search for the newest Python version installer, that runs on Win3.xx? What's the main idea?

I just wanted to share some information, but it would be interesting to know about all the available versions. When I was researching, I wasn't interested in the most recent version, but in what the capabilities and dependencies were, because I was hoping for something that didn't actually require installation, and didn't require Win32s or winsock.dll. I might also one day like to know what versions might be usable for drawing test patterns on the screen.

Aqua wrote on 2023-08-02, 00:05:

@the Win32 1.5, 1.6 Versions:
Now, i'm testing the Win32s Compatiblity and Report later, if runs well or not.

Thanks!