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'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's very basic and runs like so (except
longer and slightly more complex):

loop = 1
> while loop == 1:
>     choice = raw_input(">")
>     if choice == "prog1":
>         print "Launching Prog1"
>         os.system("prog1")
>         loop = 0
>     else:
>         print "invalid program. Try again."



God Bless,
Ben Schwabe
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to