On 16/07/13 15:15, Samuel Kroger wrote: > guess it, it is very simple but for some reason it only works when it's > in idle. What doesn't work? Do you get any output? An error message? How are you running it outside IDLE? -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/