PyCon 2019 in Cleveland, Ohio

Thursday 3:30 p.m.–5 p.m. in Room 25C

How I Learned to Stop Worrying and Love Python at Google | Tech Talk Series

Wesley J Chun


Abstract: Continuing with tradition, our sponsor workshop session features three awesome half-hour Python tech talks at they relate to Google. Hear about Python tools we’ve built in-house, using Python with Google developer tools to build your web & mobile applications with, or best practices on how we use Python internally at Google. You’re invited to stop by and hear from a cadre of world-class Google engineers from around the world! :-) 1- What’s New with TensorFlow 2.0 Speaker: Brad Miro, Google, New York Abstract Learn about the updates being made to TensorFlow in its 2.0 version. We’ll give an overview of what’s available in the new version as well as do a deep dive into an example using its central high-level API, Keras. You’ll walk away with a better understanding of how you can get started building machine learning models in Python with TensorFlow 2.0 as well as the other exciting available features! Speaker Bio Brad is passionate about educating the world about artificial intelligence both by empowering developers and improving societal understanding. He is currently a Developer Programs Engineer at Google where he specializes in machine learning and big data solutions. Outside of work, Brad can be found singing, skiing, playing board games and locating the best restaurants in NYC. 2 - Extreme Python Operator Overloading using AST Manipulation Speaker: Brian Lee, Google, Cambridge Abstract Python's `__add__, __iter__, __getitem__, __enter__`, and other magic "dunder" methods grant extraordinary flexibility in constructing new libraries and domain-specific languages on top of Python. It's very easy to create new context managers, overload object slicing, implement custom initializers/destructors, and more. With this power, library authors have wrapped C libraries like libxml2 (lxml) or blas/lapack (NumPy) with more Pythonic APIs. However, there are core Python features and syntax that can't be overridden, like for/while loops, conditionals, and built-ins like zip and enumerate. It's not even obvious how these should be defined, since they can't be defined on a per-class basis like every other dunder method. In this talk, we'll discuss how to use AST manipulation to override the behavior of Python control flow and other builtins, and why one might want to do such a thing. These AST manipulation utilities are used by TensorFlow's AutoGraph functionality, which we'll briefly discuss. Speaker Bio Brian is a Pythonista of 8 years and works at Google on TensorFlow AutoGraph and Minigo, among other things. 3 - Ask a Google Engineer Anything Moderator: Wesley Chun, Google, Sunnyvale Abstract This is an "AMA" session, giving all of you a chance to ask a Google engineer burning questions on your minds. That doesn’t mean we’ll be able to answer, however we’ll do our best! First popularized at OSCON back in 2010 then debuting at PyCon in 2013, these sessions are useful in helping developers become familiar with Alphabet, Googlers, their roles, products, and technologies, as well as be able answer technical questions that have them curious. It's been over 6 years since that first one at PyCon so it's about that time again. For half-hour, we’ll corral as many Googlers as we can get at PyCon to participate in this informative yet entertaining Q&A session. Speaker Bio WESLEY CHUN (@wescpy) is the author of Prentice Hall's bestselling "Core Python" ( series, co-author of "Python Web Development with Django" (, and has written for Linux Journal, CNET, and InformIT. In addition to being an engineer at Google and one of the hosts of the G Suite Dev Show (, he runs CyberWeb (, specializing in Python training. Wesley was one of the original Yahoo!Mail engineers, holds degrees in CS, Math, and Music from the University of California, and is a Fellow of the Python Software Foundation.