JaredLGillespie / proxyscrape

Python library for retrieving free proxies (HTTP, HTTPS, SOCKS4, SOCKS5).
MIT License
244 stars 55 forks source link

Python 3's f-Strings #32

Closed sesseor closed 3 years ago

sesseor commented 3 years ago

%-formatting is not recommended by the docs :

“The formatting operations described here exhibit a variety of quirks that lead to a number of common errors (such as failing to display tuples and dictionaries correctly).

Using the newer formatted string literals or the str.format() interface helps avoid these errors. These alternatives also provide more powerful, flexible and extensible approaches to formatting text.”