blob: eeca4cac396ac1fbbb6464afb4171b0d23c4297a [file] [log] [blame]
Guido van Rossumf71f6131996-09-03 15:08:36 +00001Python 1.4beta3 for Windows NT 3.5
2==================================
3
4The zip file pyth14b3.zip contains a preliminary binary release of
Guido van Rossum03dea6d1996-09-03 18:19:12 +00005Python 1.4beta3 for Windows NT 3.5 and Windows '95, with Tcl/Tk
6support. The installation has not been tested on Windows 3.1 with
7Win32s. For general information on Python, see
8http://www.python.org/.
Guido van Rossumf71f6131996-09-03 15:08:36 +00009
10To install:
11
12Unzip the archive in the root of a file system with enough space. It
13will create a directory \Python1.4b3 containing subdirectories Bin and
Guido van Rossum03dea6d1996-09-03 18:19:12 +000014Lib and some files, including setup.bat, setup.py, uninstall.bat, and
15uninstall.py. (If you don't have a zip program that supports long
16filenames, get the file winzip95.exe and install it -- this is WinZip
176.1 for 32-bit Windows systems.)
Guido van Rossumf71f6131996-09-03 15:08:36 +000018
19Run the SETUP.BAT file found in directory just created. When it is
20done, press Enter.
21
22To use:
23
24Python runs in a console (DOS) window. From the File Manager, run the
25file python.exe found in the Bin subdirectory. You can also drag it
26to a program group of your choice for easier access. Opening any file
27ending in .py from the file manager should run it.
28
29To use with Tkinter:
30
31Get the file win41p1.exe from here or from ftp site ftp.sunlabs.com,
32directory /pub/tcl/. This is a self-extracting archive containing the
33Tcl/Tk distribution for Windows NT. Don't use an older version.
34
35Using the control panel, set the TCL_LIBRARY and TK_LIBRARY
36environment variables. E.g. if you installed Tcl/Tk in C:\TCL (the
37default suggested by the installer), set TCL_LIBRARY to
38"C:\TCL\lib\tcl7.5" and set TK_LIBRARY to "C:\TCL\lib\tk4.1".
39
Guido van Rossum03dea6d1996-09-03 18:19:12 +000040On Windows '95, you also need to add the directory "C:\TCL\bin" (or
41whereever the Tcl bin directory ended up) to the PATH environment
42variable. (Sorry, I don't know how to do this myself :-( )
43
Guido van Rossumf71f6131996-09-03 15:08:36 +000044Once Tcl/Tk is installed, you should be able to type the following
45commands in Python:
46
47 >>> import Tkinter
48 >>> Tkinter._test()
49
50This creates a simple test dialog box (you may have to move the Python
51window a bit to see it). Click on OK to get the Python prompt back.
52
Guido van Rossum03dea6d1996-09-03 18:19:12 +000053To uninstall:
54
55Run the batch file UNINSTALL.BAT. This will run the Python script
56uninstall.py, which undoes the registry additions and removes most
57installed files. The batch file then proceed to remove some files
58that the Python script can't remove (because it's using them). The
59batch file ends with an error because it deletes itself. Hints on how
60to avoid this (and also on how to remove the installation directory
61itself) are gracefully accepted.
62
63September 3, 1996
Guido van Rossumf71f6131996-09-03 15:08:36 +000064
65--Guido van Rossum (home page: http://www.python.org/~guido/)