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 |
| 5 | Python 1.4beta3 for Windows NT 3.5, with Tcl/Tk support. The |
| 6 | installation has not been tested on Windows '95 or Windows 3.1 with |
| 7 | Win32s. For general information on Python, see http://www.python.org/. |
| 8 | |
| 9 | To install: |
| 10 | |
| 11 | Unzip the archive in the root of a file system with enough space. It |
| 12 | will create a directory \Python1.4b3 containing subdirectories Bin and |
| 13 | Lib and files setup.bat and setup.py. (If you don't have a zip |
| 14 | program that supports long filenames, get the file winzip95.exe and |
| 15 | install it -- this is WinZip 6.1 for 32-bit Windows systems.) |
| 16 | |
| 17 | Run the SETUP.BAT file found in directory just created. When it is |
| 18 | done, press Enter. |
| 19 | |
| 20 | To use: |
| 21 | |
| 22 | Python runs in a console (DOS) window. From the File Manager, run the |
| 23 | file python.exe found in the Bin subdirectory. You can also drag it |
| 24 | to a program group of your choice for easier access. Opening any file |
| 25 | ending in .py from the file manager should run it. |
| 26 | |
| 27 | To use with Tkinter: |
| 28 | |
| 29 | Get the file win41p1.exe from here or from ftp site ftp.sunlabs.com, |
| 30 | directory /pub/tcl/. This is a self-extracting archive containing the |
| 31 | Tcl/Tk distribution for Windows NT. Don't use an older version. |
| 32 | |
| 33 | Using the control panel, set the TCL_LIBRARY and TK_LIBRARY |
| 34 | environment variables. E.g. if you installed Tcl/Tk in C:\TCL (the |
| 35 | default suggested by the installer), set TCL_LIBRARY to |
| 36 | "C:\TCL\lib\tcl7.5" and set TK_LIBRARY to "C:\TCL\lib\tk4.1". |
| 37 | |
| 38 | Once Tcl/Tk is installed, you should be able to type the following |
| 39 | commands in Python: |
| 40 | |
| 41 | >>> import Tkinter |
| 42 | >>> Tkinter._test() |
| 43 | |
| 44 | This creates a simple test dialog box (you may have to move the Python |
| 45 | window a bit to see it). Click on OK to get the Python prompt back. |
| 46 | |
| 47 | August 30, 1996 |
| 48 | |
| 49 | --Guido van Rossum (home page: http://www.python.org/~guido/) |