Giter Site home page Giter Site logo

Comments (6)

taizilongxu avatar taizilongxu commented on September 26, 2024

format更优雅 哈哈

from interview_python.

OctavianLee avatar OctavianLee commented on September 26, 2024

@taizilongxu 是的。这个issue只是说那个题目,不全面。很多库里,是推荐使用%的。

from interview_python.

taizilongxu avatar taizilongxu commented on September 26, 2024

恩, 看了下logging是01年的老库, format是2.6版本新特性(08年), 看来很有可能是为了兼容的问题

哎 其实自己写的时候还是用%比较多...

from interview_python.

OctavianLee avatar OctavianLee commented on September 26, 2024

嗯,所以 对那边的文字需要更正一下 说明 不过项目很赞,star了

from interview_python.

taizilongxu avatar taizilongxu commented on September 26, 2024

: )

from interview_python.

truebit avatar truebit commented on September 26, 2024

3.6的f-string更优雅,可以加到考题中

from interview_python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.