2025/09/26 –, ダリア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
オーディエンスが持って帰れる具体的な知識やノウハウ:How to use the embedding APIs
オーディエンスに求める前提知識:Python scripting and some C
オーディエンスの経験レベル:Advanced
発表の言語:English
発表資料の言語: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".