I just successfully installed TWILL on my computer with one very supportive member of StackOverflow (you can check it HERE ) and try to run one of the simple examples on the Twill documentation page (you can see this page HERE ) Here is this example:

(source: narod.ru )
Suppose my username at www.slash.org is lynxye and my password is mammal . When I try to enter this sample code into the Python prompt, I can only enter and enter the first line of code, because when I press "Enter" to start a new line, I immediately get error messages:

(source: narod.ru )
The same thing happens when I try to enter this code into my terminal:

(source: narod.ru )
I think I'm missing some basics here. Maybe I need to create a file that will contain this code, and then somehow run this file, but I really don't know where I need to create this file and with what extension.
Can someone please help me with this?
python logging twill
brilliant
source share