Thanks a lot.
Both options (game.aiplay 1 and CyGame().reviveActivePlayer()) indeed work from the console.
The second option might be the better one to call from Python as it doesn't induce a 1-turn delay.
Now I'll have to try and see about that (I have experience neither with Python nor with Civ's SDK, so I expect to be fumbling around a bit.

).
Does it? I mean, I have set it for every turn with a limit of 500 files but I don't feel any difference.
When playing the game normally, I agree it doesn't make a difference.
But with aiplay it does (well, at least it did on my previous, old computer: maybe it wouldn't on the new one, haven't tried it out actually).
But if
@f1rpo is correct and the files can't be opened, that's a moot point anyway.
There's also the AI Auto Play mod component (originally by jdog5000).
Yes, I know about that one.
@Keler, who's also running a lot of AI games, uses it.
But the fact the player isn't passive is a major drawback for me (the big one being getting dragged in a war through a DP), so I'd rather work with aiplay.