Python Programming to Pixhawk Cube

Hello guys, I am new to Pixhawk world, so may I end up asking really funny questions…I want to test a simple flight with droenkit python code example - simple goto example.

How do I make it happen with Pixhawk cube?What should I do in order to program the Pixhawk for the python code. Please suggest guys.