I am sorry I have already asked this question on "Superuser", but nobody answers there, so I deleted it from "Superuser" and decided to post it here. Hope it's not a big crime, especially given the fact that I was firstly advised to use twill here on "StackOverflow" (not on "SuperUser")
How do I start using twill? I have just downloaded it, unpacked it and clicked on the setup .py file in the folder. The black window (terminal) appeared for a moment and vanished.
(I do have Python 2.5 installed on my computer - along with SDK from Google App Engine)
In the twill documentation section it says:
The latest release of twill is twill 0.9, released Thursday, December 27th, 2007; it is available for download at http://darcs.idyll.org/~t/projects/twill-0.9.tar.gz. You can also use Python's easy_install to install or upgrade twill.
twill works with Python 2.3 or later.
To start using twill, install it and then type twill-sh. At the prompt type:
I am not clear from this passage what I am supposed to type (only "twill-sh" or "twill-sh" and all the words under that line) and where (I tried typing it in the command prompt window of my computer - to no avail)
Can, anyone, please, help me out here?
Thank You in advance.
(This update is a response to the answer given by S.Mark)
Hello, S.Mark!!!! I’ve tried to follow Your instructions. Here is what happened:
Firstly, I created a folder on my D disk and named it “tmp”. Then I downloaded and extracted twill-0.9 into that folder. So, now the path to this file on my computer was just as same as the one in Your example: D:\tmp\twill-0.9 :
Then, I tried to open the command prompt on my computer:
Then, following step 2 of Your instructions, I tried to switch to D disk:
But for some reason it didn’t work:
This Chinese line says something like “This action has been rejected.” Why is it so? Well, I tried to proceed to step 3 anyway, and here is what I’ve got:
As far as I can understand, this Chinese line says something like “ ’C:\’ is neither internal nor external command, thus, it cannot be carried out. ” Why is it so? Is there something wrong with my computer?
(This update is my second response to the answer given by S.Mark)
Hello, S.Mark!!! Thank You for Your answer again.
Yes, this time it worked when I just typed those parts that You highlighted in Your post. So, when I typed just “d:” in the very beginning, it worked!!!
But then, when I typed “python setup.py build”, I got the same error message (“ ’python’is neither an internal or external command; it can’t be carried out. “) :
I tried to repeat this command and accidentally omitted the word “python”:
When I pressed “Enter” key, the build process seemed to launch - at least what I saw then resembled the step 4 of Your instructions (“start the build process”) very much: But now I am a little bit hesitant about proceeding to step 5 (“Install It”) as I am not sure if what I have done is the right thing.
If what I did in step 4 was okay, should I also omit the word “python” in step 5?
A side question: How did You manage to put the contents of the terminal into Your post without making screenshots? Is it like there is some way of putting the terminal’s contents into the clipboard? Making screenshots all the time and hosting them prior to posting is quite cumbersome.
(This update is my third response to S.Mark)
S.Mark, hello again!!!
(Hope you are not sick and tired of me yet)
“…and yeah you could omit python and directly run setup.py because your python installation registered *.py in registry… regarding step 5, you could just run setup.py install” – I followed these words of Yours and install process ran successfully! Thank You.
But as for the following steps (“then open python prompt from start menu, and test step 6 and 8”), there wasn’t much success in the Python prompt:
Neither was it successful in the usual command prompt (terminal):
(It again says in Chinese that python “is neither an internal nor external command and, therefore, can’t be carried out”). Do You have any idea why it didn’t work?
“…where is your python installation? C:\Python25?” - Yes, that’s right.
“…there is a setting (command prompt properties - easy edit mode) to enable selection of text on the command prompt, could you ask that in superuser.com?” - Sure, I will ask this question there. Thanks for telling me.