Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Akuli opened this issue Jul 26, 2020 · 13 comments
Closed

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

Akuli opened this issue Jul 26, 2020 · 13 comments

Comments

@Akuli
Copy link
Owner

Akuli commented Jul 26, 2020

No description provided.

@Akuli Akuli changed the title switch to python 3.6 and use f-strings switch to python >=3.6 and use f-strings Jul 26, 2020
@sam4u3
Copy link
Contributor

sam4u3 commented Jul 26, 2020

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

@sachindavra
Copy link

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

@Akuli
Copy link
Owner Author

Akuli commented May 8, 2021

  • f strings in handy-stuff-strings.md
  • add dataclasses to advanced/datatypes.md, consider removing named tuples
  • anything else I forgot?

@Akuli Akuli changed the title switch to python >=3.6 and use f-strings switch to python >=3.7 and use f-strings May 8, 2021
@laysauchoa
Copy link

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

@Akuli
Copy link
Owner Author

Akuli commented May 21, 2021

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

@tusharkhatriofficial
Copy link
Contributor

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

@Akuli
Copy link
Owner Author

Akuli commented Sep 10, 2022

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.

@tusharkhatriofficial
Copy link
Contributor

Intermediate section is indeed a good idea!

@tusharkhatriofficial
Copy link
Contributor

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

@Akuli
Copy link
Owner Author

Akuli commented Sep 10, 2022

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

@Akuli
Copy link
Owner Author

Akuli commented Sep 18, 2022

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

@tusharkhatriofficial
Copy link
Contributor

sure, I'll replace them asap

tusharkhatriofficial added a commit to tusharkhatriofficial/python-tutorial that referenced this issue Sep 20, 2022
tusharkhatriofficial added a commit to tusharkhatriofficial/python-tutorial that referenced this issue Sep 20, 2022
tusharkhatriofficial added a commit to tusharkhatriofficial/python-tutorial that referenced this issue Sep 21, 2022
@Akuli
Copy link
Owner Author

Akuli commented Sep 23, 2022

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

@Akuli Akuli closed this as completed Sep 23, 2022
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

No branches or pull requests

5 participants