summaryrefslogtreecommitdiffstats
path: root/Lib/webbrowser.py
Commit message (Collapse)AuthorAgeFilesLines
* Do not set Konquerer to be the default browser if $KDEDIR is set -- someFred Drake2000-10-021-3/+1
| | | | | | Linux distributions which provide both KDE and Gnome set this environment variable even if the user is not using KDE. We do *not* want to start Konquerer if KDE is not running unless the user actually tells us to!
* Implemented new os.startfile function, unique to Windows, exposing aTim Peters2000-09-221-1/+1
| | | | | | | | | | | | | | | | subset of Win32 ShellExecute's functionality. Guido wants this because IDLE's Help -> Docs function currently crashes his machine because of a conflict between his version of Norton AntiVirus (6.10.20) and MS's _popen. Docs for startfile are being mailed to Fred (or just read the docstring -- it tells the whole story). Changed webbrowser.py to use os.startfile instead of os.popen on Windows. Changed IDLE's EditorWindow.py to pass an absolute path for the docs (hardcoding ShellExecute's "directory" arg to "." as used to be done let IDLE work, but made the startfile command exceedingly obscure for other uses -- the MS docs are terrible, of course, & still not sure I understand it). Note that Windows Python must link with shell32.lib now! That's where ShellExecute lives.
* Hack the Windows code to use os.popen().Guido van Rossum2000-09-031-3/+1
| | | | | The returned file is assigned to an instance variable; otherwise the implied close hangs for a long time.
* New module to control Web browsers; see the documentation forFred Drake2000-07-091-0/+229
more information.