[twill] extend_with
Christopher Rasch
crasch at openknowledge.org
Thu Sep 8 13:23:48 PDT 2005
hardware: Powerbook, 667 MhZ, 1 GB SDRAM
software: Mac OS X 10.4.2 (Tiger)
python: 2.3.5
I downloaded and installed the latest development version of twill-sh
(twill-latest.tar.gz).
What I want: I want to open a url in my OS's default browser, using
the webbrowser module.
What I did:
$ twill-sh
>> go http://www.google.com
==> at http://www.google.com
current page: http://www.google.com
>> extend_with webbrowser
current page: http://www.google.com
>> webbrowser.open('http://www.google.com')
ERROR: name 'webbrowser' is not defined
current page: http://www.google.com
I saw the previous message, which said that the extend_with
functionality had recently been fixed in the interpreter. Does the
latest development version contain that fix. If so, what am I doing
wrong? Thanks!
Chris
More information about the twill
mailing list