Łukasz Langa

CPython Developer in Residence, Python 3.8 and 3.9 release manager, creator of Black, pianist, dad.

Equally interested in music and software engineering, as a classically-trained pianist and a long-time contributor to the Python programming language. Loves to build software for musical instruments. Makes music under the RPLKTR moniker.


Sessions

07-13
14:00
60min
CPython Developer Panel
Łukasz Langa, Pablo Galindo Salgado, Mark Shannon, Steve Dower, Ken Jin, Irit Katriel, Batuhan Taskaya

Come meet the folks who make the Python programming language!

A panel discussion of core Python developers will take place on Wednesday at 2pm. Hear what's on their mind, what they're working on and what the future holds for Python.

With Pablo Galindo Salgado, Steve Dower, Batuhan Taskaya, Ken Jin, Irit Katriel and Dr.Mark "HotPy" Shannon. Chaired by the esteemed Łukasz "Any color you like so long as it's black" Langa.

(c)Python Internals
The Auditorium
07-15
10:30
45min
How to embed a Python interpreter in an iOS app
Łukasz Langa

Come see how you can make a native mobile app that embeds Python 3.10 to allow users to script app behavior. It's allowed by Apple but is currently underutilized by the app makers. Add superpowers to your iPhone app with Python!

Native mobile applications have many advantages over mobile websites or apps made with cross-platform toolkits. They will use less battery, allow for richer graphics, more consistent UI behavior, and enable more functionality through device-specific APIs. Wouldn't it be great to have access to all this from Python?

In this talk, we'll marry a native iOS app written in Swift with an embedded Python 3.10 interpreter to allow users to customize what the application is doing. We'll go through the entire process of:

  • embedding Python from source;
  • building it into the Swift mobile app in Xcode;
  • adding a few pre-compiled third-party libraries like numpy and Pillow to broaden the scope of what the user can do;
  • running the resulting app on an iPhone 13;
  • modifying the app behavior at runtime thanks to our new Python superpowers!

Knowledge of Swift is not required for attendees of this talk. However, it will be needed later if you're willing to embed Python in an iPhone app. Embedding Python doesn't really let you make an app without knowing Swift. Don't fret though! It's pretty easy to get a hang of Swift when you're fluent in Python.

Software Engineering & Architecture
Liffey A