Extending & Embedding Python Using C
We have decided not to make the programs available as a download because this is not the point of the book - the programs are not finished production code but something you should type in and study.
The best solution is to provide the source code of the programs in a form that can be copied and pasted into an editor.
The only downside is that you have to create a project to paste the code into.
To do this follow the instructions in the book.
Notice that indents have been removed but you can put them back in by auto formatting the code after pasting.
All of the programs below were copy and pasted from working programs in the IDE. They have been formatted using the built in formatter and hence are not identical in layout to the programs in the book.
This is to make copy and pasting them easier. The programs in the book are formatted to be easy to read on the page.
If anything you consider important is missing or if you have any requests or comments contact:
- Next >>