O'Reilly logo

Python Programming On Win32 by Mark Hammond, Andy Robinson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Windows Explorer Integration

PythonWin provides basic integration with the Windows Explorer. All .py and .pyw files shown in the Windows Explorer have an Edit option on their context (i.e., right-click) menu. Selecting this option starts PythonWin if it isn’t already running, and opens the file for editing.

You can also drag and drop files from the Windows Explorer into PythonWin. These files are also open for editing.

PythonWin has also been registered with Windows in such a way that it can be run without knowing its specific location and without having it on your system path. If you select Start Run from the Windows taskbar and enter pythonwin, it’s correctly located and started. From a command prompt, you can also execute the command start pythonwin from any directory, and PythonWin starts. See the previous section, Command-Line Parameters.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required