<font color="#3333ff"><font size="2"><font face="trebuchet ms,sans-serif">Hello! I recently started programming in python (I use IDLE with python 2.7 on ubuntu 11.04, by the way) and recently made a program (no interface) that launches other programs. The problem I&#39;m having is that when I gave my friend the code, he had to get an editor to use the code. How do I make it so that when you open the program, it starts the code (so anyone can use it, not just those who have idle and know ow to program python)? Sorry if this is unclear. I basically want to make a stand- alone command line application (or one that boots in terminal). It&#39;s very basic and runs like so (except longer and slightly more complex):</font></font></font><div>


<font color="#3333ff"><font size="2"><font face="trebuchet ms,sans-serif"><br></font></font></font></div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">


<font color="#3333ff"><font size="2"><font face="trebuchet ms,sans-serif">loop = 1</font></font></font><font color="#3333ff"><font size="2"><font face="trebuchet ms,sans-serif"><br></font></font></font><font color="#3333ff"><font size="2"><font face="trebuchet ms,sans-serif">while loop == 1:<br>


</font></font></font><font color="#3333ff"><font size="2"><font face="trebuchet ms,sans-serif">    choice = raw_input(&quot;&gt;&quot;)<br></font></font></font><font color="#3333ff"><font size="2"><font face="trebuchet ms,sans-serif">    if choice == &quot;prog1&quot;:<br>


</font></font></font><font color="#3333ff"><font size="2"><font face="trebuchet ms,sans-serif">        print &quot;Launching Prog1&quot;<br></font></font></font><font color="#3333ff"><font size="2"><font face="trebuchet ms,sans-serif">        os.system(&quot;prog1&quot;)<br>


</font></font></font><font color="#3333ff"><font size="2"><font face="trebuchet ms,sans-serif">        loop = 0<br></font></font></font><font color="#3333ff"><font size="2"><font face="trebuchet ms,sans-serif">    else:<br>


</font></font></font><font color="#3333ff"><font size="2"><font face="trebuchet ms,sans-serif">        print &quot;invalid program. Try again.&quot;</font></font></font></blockquote><div><div><div><div><font color="#3333FF" face="&#39;trebuchet ms&#39;, sans-serif"><br>


</font></div><div><font color="#3333FF" face="&#39;trebuchet ms&#39;, sans-serif"><br></font></div><div><font color="#3333FF" face="&#39;trebuchet ms&#39;, sans-serif">God Bless,</font></div><div><font color="#3333FF" face="&#39;trebuchet ms&#39;, sans-serif">Ben Schwabe</font></div>


</div></div><br>
</div>