MENU

Fun & Interesting

How to use C from Python? - #9

Lambert Labs 5,523 4 years ago
Video Not Working? Fix It Now

Welcome to Learning at Lambert Labs session #9. This week, Amelia Crowther, explains how to use pre-existing C code from Python modules. In Today's Learning Session: - Reasons to use C code from Python (old legacy apps, performance, access to the C standard library) - Two methods: ctypes and creating a C extension - Demo using ctypes - ctype function annotations - Creating a C extension module - Demo using setup.py to create a C extension - Q&A from our developers! 🔊 Subscribe to our channel for weekly learning sessions! https://www.youtube.com/channel/UCi7G5sY0IWqSNUMnRptuJmw 🔗 Lambert Labs Links 🔗 : 🌎 Website: https://lambertlabs.com/​​ 📱 Twitter: https://twitter.com/lambertlabs​ 📝 LinkedIn: https://www.linkedin.com/company/lambertlabs 📂 GitHub: https://github.com/lambertlabs​​ ⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡ ⭐ Tags ⭐ - C - C extension - Python - Ctypes - Python development agency

Comment