Are you looking to place certain civs in certain terrains? Is this for FFH or BTS? I think somebody did something for FFH recently, and I think there's another similar mod for normal Civ. Check the downloads database.
The Creation placement is actually very specific to that map. It goes by valley, and PW doesn't have any valleys.
I if you want to program in Python, I suggest getting the IDE from Python.org it really makes things alot easier. It has a class browser that let's you see all the functions in a script so you can research stuff.