2025-09-26 –, Dahlia 2
Python has a hidden superpower-- not only can you run Python and write Python, but you can also run Python inside other languages and tools using Python's "embedded mode".
I've been going on a journey to embed Python into C# for a project called CSnakes. In this talk, you'll learn about what embedded Python is, how it can be useful and how to integrate Python into anything!
This talk is about Python's embedded mode. Python has an API for C libraries (the C-API) which is designed both for extensions written in C and also for embedding Python. Embedded Python is popular as a scripting engine in 3D tools, editors and other environments where designed a whole language for scripting is overkill.
In this talk you'll learn about using Python as a library to integrate it into any tool or platform. The example you'll see is CSnakes - a library for embedding Python into C#.
Embedding Python is fun
Knowledges and know-how the audience can get from your talk:How to use the embedding APIs
Prior knowledges speakers assume the audience to have:Python scripting and some C
Audience experiment:Advanced
Language of presentation:English
Language of presentation material:English
Anthony is from Sydney, Australia and is a contributor to many open-source communities. Running and contributing to several popular open-source tools for DevOps, Security, Automation and Code Quality. He has been recognized for his contribution to open source, including as Fellow of the Python Software Foundation and member of the Apache Software Foundation. Anthony runs a Python blog and YouTube channel and wrote the book "CPython Internals".