So, I have frequently been using Python to prototype solutions to various programming tasks (it's good to get the algorithm right before implementing with all the bells and whistles in some other programming language), and I have been using BASH shell scripting to automate a variety of tasks (e.g. running a program over multiple differents sets of input, saving the results, piping to grep and other utilities, etc.).
When it comes to tedium, really I would strongly recommend BASH. You can get it on Windows by installing Cygwin. For example, I frequently find myself doing things like the following for my various courses:
for i in {1..10} ; do
./process_data input-$i.txt | tee result-$i.transcript
done
You don't need a good editor... any text editor will do just fine. That said, if you are looking for a good Python editor, Eclipse with PyDev is pretty good. Personally, I just use Xcode as a general purpose code editor for everything... even though it doesn't really bring anything to the table for Python or BASH shell scripts... of course, you don't have Xcode on Windows. However, you can use Notepad++, Notepad, or Wordpad.