So I'm not familiar with python at all, and am trying to run a script (Charerg's Climate Generator to be precise) from the python console in GIMP so I can figure out why the script crashes. However, for some reason I cannot run the dang thing, and it appears my familiarity with MATLAB and Java isn't helpful at all. Here's the original script as summoned from the browser:
pdb.python_fu_climate_generator(img)

I replace img with the filepath, as such:
pdb.python_fu_climate_generator(D:\Documents\Legen darium\Map\World Map (v2)\suru backup.xcf)

And get the following error:
Click image for larger version. 

Name:	syntax error.PNG 
Views:	22 
Size:	4.6 KB 
ID:	125633

I would've thought that entering the absolute filepath without any modification would get it to work, but it seems my lack of understanding python is problematic, as the script is able to run fine when called from Gimp's application window. While I know something is wrong with how I'm filling in the "img" slot, I'm not quite sure how to properly search for it on google; what's wrong with my syntax? Help would be much appreciated.