more snippets and sage ftdetect as python