You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
String concatenation is mostly being done with + currently, if we're looking to support >= Python 3.6 we can use f-strings instead which are a really nice addition to the language.
Summary
String concatenation is mostly being done with
+currently, if we're looking to support >= Python 3.6 we can use f-strings instead which are a really nice addition to the language.For example:
https://github.com/SWC-Python-Club/python-dl/blob/48909716618a5bcb93ccb95ad250561fcf38f280/source/downloader.py#L21
Could be refactored to
Not a big change, obviously, but it's a bit nicer than
+in any case.Proposed solution