<html><div style='background-color:'><P>OK.</P>
<P>I'm assuming that you're writing a .py document and you want it to run by double-clicking it in the shell, right??? And you can't see the output of your prog????(that's my problem to understand English, sorry :/)</P>
<P>If this is your problem then add at the very bottom of your file this sentence:</P>
<P>raw_input()</P>
<P>Your program will wait until you press any key to finish. If you want to make it fancy then put a string to show inside the parenthesis</P>
<P>Let me know if this solve your problem and if that's not the problem then sorry for misunderstanding you and I beg you post again a little more specific (that's only applied to me :))</P>
<P>Regards</P>
<P>Alberto<BR><BR></P><BR><BR><BR>
<DIV><IMG height=12 src="http://graphics.hotmail.com/emvamp.gif" width=12>&nbsp;Gaucho</DIV>&gt;From: Feziwe Mpondo &lt;feziwe@sanbi.ac.za&gt; &gt;To: Alberto Troiano &lt;albertito_g@hotmail.com&gt; &gt;CC: jcahl@psci.net, tutor@python.org &gt;Subject: Re: [Tutor] Python backwards program &gt;Date: Wed, 13 Apr 2005 17:14:46 +0200 &gt; &gt;Alberto Troiano wrote: &gt; &gt;&gt;You can do this: &gt;&gt; &gt;&gt; &gt;&gt;&gt; word=raw_input("Type the word: ") &gt;&gt;Type the word: Kokiri Forest &gt;&gt; &gt;&gt;&gt; print word &gt;&gt;Kokiri Forest &gt;&gt; &gt;&gt;&gt; print word[::-1] &gt;&gt;tseroF irikoK &gt;&gt; &gt;&gt;But I saw that this gave you a hard time so this is an alternate &gt;&gt;longer way: &gt;&gt; &gt;&gt; &gt;&gt;&gt; backword="" &gt;&gt; &gt;&gt;&gt; counter=len(word) &gt;&gt; &gt;&gt; &gt;&gt;&gt; while counter!=0: &gt;&gt; backword+=word[counter-1] &gt;&gt; counter-=1 
&gt;&gt; &gt;&gt; &gt;&gt;&gt; print backword &gt;&gt;tseroF irikoK &gt;&gt; &gt;&gt;So choose the one you want and feel free to ask in case of any &gt;&gt;doubt &gt;&gt; &gt;&gt;Regards &gt;&gt; &gt;&gt;Alberto &gt;&gt; &gt;&gt; &gt;&gt; Gaucho &gt;&gt; &gt;From: "Jim and Laura Ahl" &lt;jcahl@psci.net&gt; &gt;To: &gt;&gt;&lt;tutor@python.org&gt; &gt;Subject: [Tutor] Python backwards program &gt;&gt; &gt;Date: Tue, 12 Apr 2005 20:05:41 -0500 &gt; &gt;I am very new to &gt;&gt;programming and I have an assignment to have a raw_input string &gt;&gt;that is inputted by the user and then is printed backwards. Can &gt;&gt;anyone help me? I can get it to print regular but backwards in not &gt;&gt;working. &gt; &gt;Thank You &gt;Jim &gt;&gt; &gt;_______________________________________________ &gt;Tutor maillist - &gt;&gt;Tutor@python.org &gt;http://mail.python.org/mailman/listinfo/tutor &gt;&gt; 
&gt;&gt;------------------------------------------------------------------------ &gt;&gt; &gt;&gt;_______________________________________________ &gt;&gt;Tutor maillist - Tutor@python.org &gt;&gt;http://mail.python.org/mailman/listinfo/tutor &gt;&gt; &gt;&gt; &gt;i am able to type, what i can't seem to do is seeing it print or &gt;executing the command on the shell window </div></html>