About 50 results
Open links in new tab
  1. How can I print bold text in Python? - Stack Overflow

    Jan 19, 2012 · In Python 3 you can alternatively use cprint as a drop-in replacement for the built-in print, with the optional second parameter for colors or the attrs parameter for bold (and other attributes …

  2. How can I make certain text bold in Python string formatting?

    May 24, 2024 · Just some extra information: label = tkinter.Label(Window, text="This is Bold, Italic, Underlined and Overstriked Arial Font at 8 pixels.", font=("Arial", 8, "bold italic underlined …

  3. python - how to print bold font when using f-string? - Stack Overflow

    Aug 12, 2021 · for f-string, how to print bold font for either integer or string? I came to this below website saying using "\\033[1m" before and after string. Question is how to use it inside f-string a...

  4. python - How to make input text bold in console? - Stack Overflow

    Dec 1, 2019 · I'm looking for a way to make the text that the user types in the console bold input ("Input your name: ") If I type "John", I want it to show up as bold as I'm typing it, something like this Input

  5. How to print bold text in python with ```format```? [duplicate]

    Aug 3, 2016 · How to print bold text in python with ```format```? [duplicate] Asked 9 years, 6 months ago Modified 9 years, 6 months ago Viewed 15k times

  6. How can I make text bold in Python? - Stack Overflow

    Oct 2, 2014 · I want to be able to change the text to bold in Python. Is there a way to do that? I have been able to change colors with termcolor but nothing so far with bold text. Has anyone tried doing it …

  7. string - How to make a text bold using python - Stack Overflow

    Jul 21, 2021 · I need to make a string to bold. I have used: from colorama import init,Fore, Back, Style y='Hello world' I want to pass the bolded 'y' to another variable.

  8. python - Make everything bold - Stack Overflow

    Nov 3, 2023 · Well , I am making some plots and wants to make everything in bold font. I can can use weight="bold" to make bold font of label to ticks. Can also use the prop={'weight':'bold'} to make the …

  9. Bold formatting in Python console - Stack Overflow

    May 22, 2018 · Bold formatting in Python console Asked 7 years, 8 months ago Modified 2 years, 10 months ago Viewed 18k times

  10. python - How to add bold annotated text to a plot - Stack Overflow

    I want to make an annotated text in a plot using matplotlib. I have tried the following: