Generate basic Python stub