# Place this code in a file named win_in.py in the same # folder where you put zellegraphics.py # (probably something like C:\Program Files\Python25\Lib\site-packages). # At the beginning of your program file, add # from win_in import * # instead of the input() function, use win_input() # instead of the raw_input() function, use win_raw_input() # This should enable you to use the regular Run as ... # in Eclipse instead of usingExternal Tools def win_raw_input(prompt): """Operates exactly like raw_input, but strips the '\r' generated by Windows""" return raw_input(prompt).replace("\r", "") def win_input(prompt): """Operates exactly like input, but strips the '\r' generated by Windows""" return eval(win_raw_input(prompt))