Search⌘ K
AI Features

Standard Library & Built-in Functions

Understand how to use Transcrypt's standard library modules and built-in Python functions to develop front-end web applications. Learn limitations and practical workarounds to write Pythonic code that compiles to JavaScript for browsers.

Introduction

The focus of Transcrypt is on applications that run in web browsers and not desktop applications. It is intended to be used more with JavaScript libraries rather than Python libraries. As such, it does not have a full set of standard Python modules available to it. However, in addition to supporting most of Python’s built-ins, a few standard Python modules have been added to the Transcrypt distribution that can be imported into our Python module.

Standard library

This list is bound to grow over time as the Transcrypt project matures, but for now, we only have these modules from the standard library available ...