Standalone Python
2.6.6 for Windows, Complete installation
Documentation
Eric Fimbel, Copyright
(C)
2011 . Contact: basicLabBook@gmail.com
Web site: http://sites.google.com/site/basiclabbook/pythonstandalone/
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation version 2 of the
License. This program
is distributed in the hope that it will be
useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General
Public License for
more details.
Open source software and icons used here
Warning.
Links are disabled in PDF format
|
Content
What is this?
The directory is a local copy of Python for Windows that includes a
standard Python installation (2.6.6) modified as follows:
documentation, includes (for
compilation) and scripts removed.
runtime library python26.dll added in root
packages added:
pywin32,
pyhook,
pygame and pgu,
pyserial, pyI2C and pyparallel,
psyco
runtime libraries
pywintypes26.dll, pythoncom26.dll added
in root.
msvcp71.dll and msvcr71.dll added in root (required because parts of
the standard installation were compiled with Microsoft Visual C++
**DUBIOUS)
command for idle editor in root
BatToExeConverter.exe in root (to generate .exe files from .bat)
See summary of versions on site for details.
Installation and
Uninstallation
Installation: unzip anywhere
Uninstallation: delete your installation directory
If you changed the PATH environment
variable (see below), restore
it
(see below how, delete the part you added)
Use the standalone
python from everywhere
Add the installation directory to the PATH environment variable.
My Computer (open with File Explorer)
click in panel, then right-click todisplay popup menu.
option properties
from the popup menu
in tab advanced, button
environment variables.
select PATH , button edit.
add
;My installation directory (don't forget initial semicolumn;
give full path, e.g. C:xxx; in case there are spaces, use ~, e.g.,
Progra~1 or quotes "C:...")
save and close
Use the idle editor
from the standalone installation
1) Prepare the command file idle.bat
edit idle.bat.
in first line, write set root =
installation directory (give full path, e.g. C:xxx; in case
there are spaces, use ~, e.g., Progra~1 or quotes "C:...")
remove 'rem' from first and second line
remove third line
save.
2) Transform the command file idle.bat
into an executable.
execute batToExeConverter to
generate idle.exe .
source = idle.bat, target = idle.exe, invisible application (for
the remainder of parameters, use default).
convert and exit.
3) Associate idle.exe to
extensions .py and .pyw. For instance
open the File Explorer.
option tools, sub-option folder options.
in tab file types, button new.
add PY, save
frame open with, button change.
choose select program from list,
button browse
select idle.exe in the installation directory.
save
same thing with PYW extension.
Modify the
installation
The removed items are in python_26_removed_complete_(version).zip
(downloadable from same site).
Unzip anywhere and use to store modifications, transfer items to and
from this folder.