Skip to content

switch to python >=3.7 and use f-strings #19

Closed

Description

@Akuli
No description provided.

Activity

  1. changed the title [-]switch to python 3.6 and use f-strings[/-] [+]switch to python >=3.6 and use f-strings[/+] on Jul 26, 2020
  2. sam4u3 commented on Jul 26, 2020

    @sam4u3
    Contributor

    Use github project feature to manage this project with kan-ban strategy

  3. sachindavra commented on May 8, 2021

    @sachindavra

    Hi @Akuli , could you describe what needs to be changed?

  4. Akuli commented on May 8, 2021

    @Akuli
    OwnerAuthor
    • f strings in handy-stuff-strings.md
    • add dataclasses to advanced/datatypes.md, consider removing named tuples
    • anything else I forgot?
  5. changed the title [-]switch to python >=3.6 and use f-strings[/-] [+]switch to python >=3.7 and use f-strings[/+] on May 8, 2021
  6. laysauchoa commented on May 21, 2021

    @laysauchoa

    is someone working on this already? I want to help!

  7. Akuli commented on May 21, 2021

    @Akuli
    OwnerAuthor

    Just do it then :) If multiple people do it, I will combine the changes.

  8. tusharkhatriofficial commented on Sep 10, 2022

    @tusharkhatriofficial
    Contributor

    I'm working on this if you have any updates please let me know.

  9. Akuli commented on Sep 10, 2022

    @Akuli
    OwnerAuthor

    Nice :)

    Don't add dataclasses yet. I probably want to restructure things a bit before adding dataclasses. Basically, I think the basics/advanced splitting as it is now doesn't make much sense, and it would be better to have something like basics/intermediate where intermediate would contain things like list/dict/set comprehensions, dataclasses, inheritance, typing, and so on.

  10. tusharkhatriofficial commented on Sep 10, 2022

    @tusharkhatriofficial
    Contributor

    Intermediate section is indeed a good idea!

  11. tusharkhatriofficial commented on Sep 10, 2022

    @tusharkhatriofficial
    Contributor

    Do you want to replace the old method with f-Strings or just add an extra f-Strings section?

  12. Akuli commented on Sep 10, 2022

    @Akuli
    OwnerAuthor

    We don't need .format() or % formatting anymore, at least not in the basics section.

  13. Akuli commented on Sep 18, 2022

    @Akuli
    OwnerAuthor

    There's still % formatting in these files:

    advanced/functions.md
    advanced/magicmethods.md
    basics/answers.md
    basics/defining-functions.md
    basics/exceptions.md
    basics/larger-program.md
    basics/loops.md
    basics/modules.md
    
  14. tusharkhatriofficial commented on Sep 18, 2022

    @tusharkhatriofficial
    Contributor

    sure, I'll replace them asap

  15. Akuli commented on Sep 23, 2022

    @Akuli
    OwnerAuthor

    This is done now. Thanks @tusharkhatriofficial for working on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions