Brought to you by Michael and Brian - take a Talk Python course or get Brian's pytest book

#64: The GUI phoenix rises with wxPython

Published Fri, Feb 9, 2018, recorded Thu, Feb 8, 2018

Sponsored by DigitalOcean: http://do.co/python

Brian #1: wxPython 4, Pheonix is now live and supports Python 3

Michael #2: typeshed

  • Typeshed contains external type annotations for the Python standard library and Python builtins, as well as third party packages.
  • This data can e.g. be used for static analysis, type checking or type inference.
  • Used as the basis of mypy and PyCharm’s magic
  • Each Python module is represented by a .pyi "stub". This is a normal Python file (i.e., it can be interpreted by Python 3), except all the methods are empty. Python function annotations (PEP 3107) are used to describe the types the function has.
  • Here’s what one of these exeternal definitions looks like:
         class NodeVisitor():
            def visit(self, node: AST) -> Any: ...
            def generic_visit(self, node: AST) -> None: ...
    

Brian #3: Coverage 4.5 adds configurator plug-ins

  • “There’s one new feature: configurator plug-ins, that let you run Python code at startup to set the configuration for coverage. This side-steps a requested feature to have different exclusion pragmas for different versions of Python.”

Michael #4: Python integrated into Unreal Engine

  • via Pirogov Alexander‏ ( @Pie_Daddy )
  • tl;dr: Autodesk university plans to integrate Python into Unreal Engine for the data integration pipeline and ease the process of bringing assets into the game.
  • Autodesk is working on that will solve complicated problems with bringing CAD data into the Unreal Engine.
  • Where they are today:
    • The Datasmith workflow toolkit, currently in beta, makes moving data into Unreal Engine as frictionless as possible.
    • Datasmith provides high-fidelity translation of common scene assets such as geometry, textures, materials, lights and cameras from popular DCC and CAD applications into Unreal Engine.

Brian #5: Python 3.7.0b1 : Beta means we should be testing it!!!

  • If not people like us and our listeners, then who? Seems like we’re a good set of beta testers.
  • What are you going to test?
  • I'm going to look at breakpoint() and data classes.

Michael #6: Releases abound!

Our news

Brian:

  • Speaking at PyCon 2018. “PyCharm and pytest”. Speaking with Paul Everitt
  • Upcoming webinar: Productive pytest with Pycharm
    • Feb 22, registration open

Michael:

  • Webinar Recording: “MongoDB Quickstart with Python and PyCharm” with Michael Kennedy

Want to go deeper? Check our projects