Press 'F12' ('Command'+'Esc' on Mac OS X) to switch between the Editor Pane and the interactive shell. This showcase uses the sample program
preprocess.py, described in the Python tutorial, located by default in install dir\Komodo x.x\samples\pythontutorials_.
Before you start: Configure the interactive shell preferences to load the Python shell by default.
The key bindings mentioned below are part of the default Windows/Linux key binding scheme. If you are using Komodo for Mac OS X, click Help|Key Bindings to view the equivalent OS X key bindings.
On line 67 of
Press 'F12' ('Command'+'Esc' on Mac OS X) to open the shell. Enter
import and press 'Ctrl'+'V'. Press 'Enter' to load the module.
help ( and press 'Ctrl'+'V' again to paste
contenttype. Add a period.
Press 'F12' ('Command'+'Esc' on Mac OS X) to switch back to the Editor Pane. Select
Press 'F12' ('Command'+'Esc' on Mac OS X) to switch back to the interactive shell. Press 'Ctrl'+'V' to paste
getContentType, then enter a closing parenthesis and press 'Enter'.
© 2017 ActiveState Software Inc. All rights reserved. ActiveState®,
Komodo®, ActivePerl®, ActivePython®, and ActiveTcl® are registered
trademarks of ActiveState.
All other marks are property of their respective owners.