Try t-strings now!

Excited to try t-strings before Python 3.14's official release? You've got options!

Option 1: Our Browser Playground

The easiest option of all! No installation required - just visit our Playground to try t-strings directly in your browser.

Our playground uses Pyodide (with a 3.14.0b1 patch) and JupyterLite to run Python entirely in your browser. It's a great way to experiment without installing anything!

Option 2: Python 3.14.0b1

The simplest way to start experimenting with t-strings is to download and install the Python 3.14.0b1 beta release:

Download Python 3.14.0b1

After installation, you can verify you have the right version and start experimenting:

$ python --version
Python 3.14.0b1

$ python
>>> name = "World"
>>> t"Hello {name}!"
Template(strings=('Hello ', '!'), interpolations=(Interpolation('World', 'name', None, ''),))

Option 3: Docker

Don't want to install anything on your system? Use Docker to spin up a Python 3.14 container:

# Pull the image
$ docker pull python:3.14.0b1-bookworm

# Run an interactive Python shell
$ docker run -it --rm python:3.14.0b1-bookworm python

>>> name = "World"
>>> t"Hello {name}!"  # Try t-strings!

You can also use the 3.14-rc-bookworm tag which will always point to the latest release candidate.

What's Next?

Once you're up and running with Python 3.14, check out our Brief Introduction to understand what t-strings can do, or dive right into the examples repository for inspiration.

Feeling ambitious? Join us at our PyCon sprint today (Monday, May 19, Room 309, starting at 9AM) to help build the t-strings ecosystem!

Happy template stringing!