[Python] how to fix f-strings breaking backward compatibility python 3.5/3.6+

Discussão em 'Python' iniciado por Stack, Março 14, 2025.

  1. Stack

    Stack Membro Participativo

    I have found some code which is apparently designed for python 3.6.

    For some reason I need to run that code in a python 3.5 environment. Supposedly, the two versions should be backward compatible. However, the original code abuses in f-strings, raising hundreds of errors in py35

    do you know any tool to remove those fstrings, or a clean workaround?

    Continue reading...

Compartilhe esta Página