A GitHub example can be found [https://gist.github.com/dfm/3247796 here].
An advanced and detailed tutorial can be found [http://www.scipy-lectures.org/advanced/interfacing_with_c/interfacing_with_c.html#id10 here].
A step-by-step Tutorials Point guide can be found [https://www.tutorialspoint.com/python/python_further_extensions.htm here].
===Results ===