On 28/11/15 15:59, Laura Creighton wrote: >> effort than ctypes to call a library function? I can't see any advantage, >> so what am I missing? > > Ctypes is slow.
Aha. Performance is always the invisible feature. I only ever use ctypes to access OS features that don't have a Python equivalent function (and that's rare). Performance has never been an issue so ctypes has been just grand. Cython is a whole different beastie though, it's way cool! :-) -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor