[Tutor] finalizing code

2011-08-25 Thread Bspymaster
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

[Tutor] finalizing code

2011-08-25 Thread Bspymaster
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

Re: [Tutor] Help with if-elif-else structure

2011-08-26 Thread Bspymaster
Well, I'm not sure what your asking for the first question, but for the second one, you would have an unhandled exception in your code if roll[0] was less than or equal to 0. Hope that helps a bit! On Fri, Aug 26, 2011 at 8:55 AM, TheIrda wrote: > Hello, > > I'm quite new on python, so don't hi