Add python and C snippets