Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I start using twill?
    primarykey
    data
    text
    <p>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") </p> <p>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. </p> <p>(I do have Python 2.5 installed on my computer - along with SDK from Google App Engine)</p> <p>In the twill <a href="http://twill.idyll.org/" rel="nofollow noreferrer">documentation section</a> it says:</p> <hr> <blockquote> <p>Downloading twill</p> <p>The latest release of twill is twill 0.9, released Thursday, December 27th, 2007; it is available for download at <a href="http://darcs.idyll.org/~t/projects/twill-0.9.tar.gz" rel="nofollow noreferrer">http://darcs.idyll.org/~t/projects/twill-0.9.tar.gz</a>. You can also use Python's easy_install to install or upgrade twill.</p> <p>twill works with Python 2.3 or later.</p> <p>To start using twill, install it and then type twill-sh. At the prompt type:</p> <p><code>go http://www.slashdot.org/</code><br/> <code>show</code><br/> <code>showforms</code><br/> <code>showhistory</code></p> </blockquote> <hr> <p>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)</p> <p>Can, anyone, please, help me out here?</p> <p>Thank You in advance.</p> <hr> <p>Update 1:</p> <p>(This update is a response to the answer given by S.Mark)</p> <p>Hello, S.Mark!!!! I’ve tried to follow Your instructions. Here is what happened:</p> <p>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 : <a href="http://roundcan.narod.ru/some_pics/01_path_big.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/01_path_big.jpg</a></p> <p><a href="http://roundcan.narod.ru/some_pics/02_path_small.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/02_path_small.jpg</a></p> <p>Then, I tried to open the command prompt on my computer: <a href="http://roundcan.narod.ru/some_pics/03_window.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/03_window.jpg</a></p> <p><a href="http://roundcan.narod.ru/some_pics/04_prompt_big.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/04_prompt_big.jpg</a></p> <p><a href="http://roundcan.narod.ru/some_pics/05_prompt_small.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/05_prompt_small.jpg</a></p> <p><a href="http://roundcan.narod.ru/some_pics/06_admin.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/06_admin.jpg</a></p> <p><a href="http://roundcan.narod.ru/some_pics/07_admin_big.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/07_admin_big.jpg</a></p> <p>Then, following step 2 of Your instructions, I tried to switch to D disk:</p> <p><a href="http://roundcan.narod.ru/some_pics/08_switch_try.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/08_switch_try.jpg</a></p> <p>But for some reason it didn’t work:</p> <p><a href="http://roundcan.narod.ru/some_pics/09_switch_result.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/09_switch_result.jpg</a></p> <p>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:</p> <p><a href="http://roundcan.narod.ru/some_pics/10_third_step.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/10_third_step.jpg</a></p> <p>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?</p> <hr> <p>Update 2:</p> <p>(This update is my second response to the answer given by S.Mark)</p> <p>Hello, S.Mark!!! Thank You for Your answer again. </p> <p>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!!!</p> <p>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. “) : <a href="http://roundcan.narod.ru/some_pics/12.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/12.jpg</a></p> <p>I tried to repeat this command and accidentally omitted the word “python”:<br> <a href="http://roundcan.narod.ru/some_pics/13.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/13.jpg</a> 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: <a href="http://roundcan.narod.ru/some_pics/14.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/14.jpg</a><a href="http://roundcan.narod.ru/some_pics/15.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/15.jpg</a><a href="http://roundcan.narod.ru/some_pics/16.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/16.jpg</a> 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. </p> <p>If what I did in step 4 was okay, should I also omit the word “python” in step 5?</p> <p>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. </p> <hr> <p>Update 3:</p> <p>(This update is my third response to S.Mark)</p> <p>S.Mark, hello again!!! </p> <p>(Hope you are not sick and tired of me yet)</p> <p>“…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.</p> <p>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: <a href="http://roundcan.narod.ru/some_pics/17.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/17.jpg</a></p> <p>Neither was it successful in the usual command prompt (terminal): <a href="http://roundcan.narod.ru/some_pics/18.jpg" rel="nofollow noreferrer">alt text http://roundcan.narod.ru/some_pics/18.jpg</a></p> <p>(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?</p> <p>“…where is your python installation? C:\Python25?” - Yes, that’s right.</p> <p>“…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. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload