Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
clinic/ | 12-May-2024 | - | 2,945 | 2,450 | ||
icons/ | 12-May-2024 | - | 8 | 8 | ||
layout/ | 12-May-2024 | - | 1,925 | 1,584 | ||
WinMain.c | D | 12-May-2024 | 449 | 17 | 12 | |
_msi.c | D | 12-May-2024 | 36.3 KiB | 1,324 | 921 | |
_testconsole.c | D | 12-May-2024 | 3.3 KiB | 134 | 86 | |
classicAppCompat.can.xml | D | 12-May-2024 | 3.9 KiB | 1 | 1 | |
classicAppCompat.cat | D | 12-May-2024 | 10.7 KiB | |||
classicAppCompat.sccd | D | 12-May-2024 | 18.1 KiB | 29 | 26 | |
config.c | D | 12-May-2024 | 5.4 KiB | 175 | 140 | |
crtlicense.txt | D | 12-May-2024 | 1.7 KiB | 42 | 30 | |
dl_nt.c | D | 12-May-2024 | 808 | 37 | 20 | |
empty.c | D | 12-May-2024 | 137 | 6 | 6 | |
errmap.h | D | 12-May-2024 | 4.9 KiB | 141 | 119 | |
errmap.mak | D | 12-May-2024 | 95 | 6 | 4 | |
frozen_dllmain.c | D | 12-May-2024 | 3.9 KiB | 135 | 64 | |
getpathp.c | D | 12-May-2024 | 34 KiB | 1,141 | 775 | |
invalid_parameter_handler.c | D | 12-May-2024 | 549 | 23 | 12 | |
launcher.c | D | 12-May-2024 | 65.1 KiB | 2,034 | 1,631 | |
msvcrtmodule.c | D | 12-May-2024 | 15.7 KiB | 643 | 305 | |
pyconfig.h | D | 12-May-2024 | 19.9 KiB | 691 | 249 | |
pylauncher.rc | D | 12-May-2024 | 1.6 KiB | 64 | 59 | |
pyshellext.cpp | D | 12-May-2024 | 18.3 KiB | 608 | 499 | |
pyshellext.def | D | 12-May-2024 | 120 | 6 | 5 | |
pyshellext.rc | D | 12-May-2024 | 1.2 KiB | 51 | 46 | |
python.manifest | D | 12-May-2024 | 1.3 KiB | 31 | 30 | |
python3dll.c | D | 12-May-2024 | 27.4 KiB | 856 | 847 | |
python_exe.rc | D | 12-May-2024 | 1.3 KiB | 55 | 47 | |
python_nt.rc | D | 12-May-2024 | 1.2 KiB | 52 | 46 | |
python_uwp.cpp | D | 12-May-2024 | 6.5 KiB | 264 | 223 | |
python_ver_rc.h | D | 12-May-2024 | 969 | 35 | 23 | |
pythonw_exe.rc | D | 12-May-2024 | 1.3 KiB | 55 | 47 | |
readme.txt | D | 12-May-2024 | 3.6 KiB | 82 | 62 | |
sqlite3.rc | D | 12-May-2024 | 1.4 KiB | 55 | 48 | |
store_info.txt | D | 12-May-2024 | 6.2 KiB | 157 | 107 | |
testpy.py | D | 12-May-2024 | 831 | 31 | 21 | |
validate_ucrtbase.py | D | 12-May-2024 | 2.7 KiB | 90 | 70 | |
winreg.c | D | 12-May-2024 | 64.6 KiB | 2,121 | 1,344 | |
winsound.c | D | 12-May-2024 | 6.5 KiB | 251 | 148 |
readme.txt
1Welcome to the "PC" subdirectory of the Python distribution 2*********************************************************** 3 4This "PC" subdirectory contains complete project files to make 5several older PC ports of Python, as well as all the PC-specific 6Python source files. It should be located in the root of the 7Python distribution, and there should be directories "Modules", 8"Objects", "Python", etc. in the parent directory of this "PC" 9subdirectory. Be sure to read the documentation in the Python 10distribution. 11 12Python requires library files such as string.py to be available in 13one or more library directories. The search path of libraries is 14set up when Python starts. To see the current Python library search 15path, start Python and enter "import sys" and "print sys.path". 16 17All PC ports use this scheme to try to set up a module search path: 18 19 1) The script location; the current directory without script. 20 2) The PYTHONPATH variable, if set. 21 3) For Win32 platforms (NT/95), paths specified in the Registry. 22 4) Default directories lib, lib/win, lib/test, lib/tkinter; 23 these are searched relative to the environment variable 24 PYTHONHOME, if set, or relative to the executable and its 25 ancestors, if a landmark file (Lib/string.py) is found , 26 or the current directory (not useful). 27 5) The directory containing the executable. 28 29The best installation strategy is to put the Python executable (and 30DLL, for Win32 platforms) in some convenient directory such as 31C:/python, and copy all library files and subdirectories (using XCOPY) 32to C:/python/lib. Then you don't need to set PYTHONPATH. Otherwise, 33set the environment variable PYTHONPATH to your Python search path. 34For example, 35 set PYTHONPATH=.;d:\python\lib;d:\python\lib\win;d:\python\lib\dos-8x3 36 37There are several add-in modules to build Python programs which use 38the native Windows operating environment. The ports here just make 39"QuickWin" and DOS Python versions which support a character-mode 40(console) environment. Look in www.python.org for Tkinter, PythonWin, 41WPY and wxPython. 42 43To make a Python port, start the Integrated Development Environment 44(IDE) of your compiler, and read in the native "project file" 45(or makefile) provided. This will enable you to change any source 46files or build settings so you can make custom builds. 47 48pyconfig.h An important configuration file specific to PC's. 49 50config.c The list of C modules to include in the Python PC 51 version. Manually edit this file to add or 52 remove Python modules. 53 54testpy.py A Python test program. Run this to test your 55 Python port. It should produce copious output, 56 ending in a report on how many tests were OK, how many 57 failed, and how many were skipped. Don't worry about 58 skipped tests (these test unavailable optional features). 59 60 61Additional files and subdirectories for 32-bit Windows 62====================================================== 63 64python_nt.rc Resource compiler input for python15.dll. 65 66dl_nt.c 67 Additional sources used for 32-bit Windows features. 68 69getpathp.c Default sys.path calculations (for all PC platforms). 70 71dllbase_nt.txt A (manually maintained) list of base addresses for 72 various DLLs, to avoid run-time relocation. 73 74 75Note for Windows 3.x and DOS users 76================================== 77 78Neither Windows 3.x nor DOS is supported any more. The last Python 79version that supported these was Python 1.5.2; the support files were 80present in Python 2.0 but weren't updated, and it is not our intention 81to support these platforms for Python 2.x. 82