Skip to content

Use fstring as part of futurize #343

Open
@rinslow

Description

@rinslow

Fstring is a PEP 448 backport of f-strings from python 3 to both python 2 and python 3

Installation is as easy as

pip install fstring

Usage as easy as

from fstring import fstring as f

a = 4
print(f("{a} is four!"))

Fstring should be used instead of string formatting or % formatting so developers could program in python 3 idioms.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions