Aberdour is pretty nice, wee town with beaches, on the fife coastal path, a castle etc. Not sure if there is a bus you could get to anstruther for chips as it's the best in the world however no direct rail link.
East neuk of fife is gorgeous if not a bit twee