Skip to content

preferred format for mapcalc strings in python addons? #1958

Answered by petrasovaa
CarlosGrohmann asked this question in Q&A
Discussion options

You must be logged in to vote

The f-strings iare preferable, it's more modern syntax. There are some issues for using it with translatable strings, but that's not the case here. I think the format was preferable comparing to the old % syntax.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@CarlosGrohmann
Comment options

@wenzeslaus
Comment options

Comment options

You must be logged in to vote
2 replies
@CarlosGrohmann
Comment options

@wenzeslaus
Comment options

Answer selected by CarlosGrohmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants