Skip to content

Added PyFormat.info to Text Processing section#839

Closed
kaitouNeo wants to merge 1 commit intovinta:masterfrom
kaitouNeo:master
Closed

Added PyFormat.info to Text Processing section#839
kaitouNeo wants to merge 1 commit intovinta:masterfrom
kaitouNeo:master

Conversation

@kaitouNeo
Copy link

What is this Python project?

It can make format() in Python more fexiable and convenient to use.

What's the difference between this Python project and similar ones?

  • The syntax looks more human readable.
  • The format specifier ( such as %s, %d ... ) can be omited, and will be repalced with {} .
  • Padding and aligning strings.
  • Support named placeholders, mean it can format the string with dict data structure as parameter of format().

@vinta
Copy link
Owner

vinta commented Feb 24, 2017

Thanks for your contribution. I like .format() too, but it's a language feature instead of a Python package.

@vinta vinta closed this Feb 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants