Jul-28-2017, 09:02 AM
I find this website to be very helpful: https://pyformat.info
I hadn't heard about f-strings before, they seem very nice!
I hadn't heard about f-strings before, they seem very nice!
format spec %b is documented but does not work
|
Jul-28-2017, 09:02 AM
I find this website to be very helpful: https://pyformat.info
I hadn't heard about f-strings before, they seem very nice!
Jul-30-2017, 03:24 AM
(Jul-26-2017, 01:58 PM)ichabod801 Wrote: That document is not available online. I rechecked the 3.5.3 documentation (https://docs.python.org/3.5/library/stdt...formatting), and again, there is no 'b' in the table. Are you sure you are referencing the printf style formatting section and not the format method style formatting?https://www.python.org/doc/versions/
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Jul-30-2017, 01:32 PM
That table is for the format method, not for printf-style % formatting.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness. Recommended Tutorials: BBCode, functions, classes, text adventures
Jul-31-2017, 09:21 AM
(Jul-30-2017, 01:32 PM)ichabod801 Wrote: That table is for the format method, not for printf-style % formatting. yes. that is what i learned through all this.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American. |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
where variable arguments is documented | Skaperen | 1 | 146 |
Yesterday, 06:43 AM Last Post: Gribouillis |
|
issubclass() not as documented | Skaperen | 19 | 11,627 |
Mar-15-2021, 04:58 PM Last Post: nilamo |
|
where is this documented? | Skaperen | 8 | 6,107 |
Feb-20-2018, 03:31 AM Last Post: Skaperen |