Thanks for the suggestion, xufei9811.
What else would you like to have been discussed? In this series Bret goes over some fundamentals:
https://www.cineversity.com/vidplaytut/introduction_to_python_in_c4d_part_1a
... and following chapters
Using the term Python, I got 50 tutorials listed, and yes, not all are pure Python.
A nice overview is given here:
https://www.cineversity.com/learn/scripting
and some more in depth tips are given here:
https://www.cineversity.com/wiki/Category:Scripting/
Anyway, the more details you share, about your target with scripting, the more likely things work out towards your direction.
All the best