<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><div style="text-align: left;">Just as documentation if someone has same issue.<br><br>Situation:<br>I moved from 0.9a3 to 0.9b1. After that, I was not able to import twill.commands.<br><br>Environment:<br>Python 2.3.5 on WinXP (I can't choose...).<br>twill 0.9b1 (lastest by March 18th, 2007).<br><br>Dumps:<br>Python 2.3.5 (#62, Feb&nbsp; 8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] on win32<br>Type "help", "copyright", "credits" or "license" for more information.<br>&gt;&gt;&gt; from twill.commands import *<br>Traceback (most recent call last):<br>&nbsp; File "&lt;stdin&gt;", line 1, in ?<br>&nbsp; File "twill\__init__.py", line 52, in ?<br>&nbsp;&nbsp;&nbsp; from shell import TwillCommandLoop<br>&nbsp; File "twill\shell.py", line 9, in ?<br>&nbsp;&nbsp;&nbsp; from twill import commands, parse, __version__<br>&nbsp; File "twill\commands.py", line 66, in ?<br>&nbsp;&nbsp;&nbsp; from browser import TwillBrowser<br>&nbsp; File "twill\browser.py", line 18, in ?<br>&nbsp;&nbsp;&nbsp; from _browser import PatchedMechanizeBrowser<br>&nbsp; File "twill\_browser.py", line 11, in ?<br>&nbsp;&nbsp;&nbsp; from utils import run_tidy, StringIO, \<br>&nbsp; File "twill\utils.py", line 12, in ?<br>&nbsp;&nbsp;&nbsp; import subprocess<br>&nbsp; File "twill\other_packages\subprocess.py", line 366, in ?<br>&nbsp;&nbsp;&nbsp; from _subprocess import *<br>ImportError: No module named _subprocess<br><br>Solution/Workaround:<br>Install subprocess module (http://effbot.org/downloads/subprocess-0.1-20041012.win32-py2.3.exe)<br><br>Conclusion: <br>Subprocess is included in Python 2.4. <br>
Python 2.3 has to be installed by hand.<br>
<br>Now I can take advantage of new "<strong>*_extra_headers</strong>" commands.<br><br>Thnxs Titus!<br><br>PS: this is my first email to list. Hope I am not doing it so wrong :S<br></div><br /><hr />Take a break and play crossword puzzles - FREE! <a href='http://games.msn.com/en/flexicon/default.htm?icid=flexicon_ wlmemailtaglinemarch07 ' target='_new'>Play Now!</a></body>
</html>