Revitapidocs is great for learning the Revit API. Python has tons of free tutorials, videos, and forums available online. And of course the Dynamo forums here are a good source for both, though not always as in-depth.
Here’s a collection of basics we’ve collected on the forums: Python Nodes Basics