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