[Chennaipy] doubt in python

Vijay Kumar vijaykumar at zilogic.com
Sun May 10 03:51:02 EDT 2020


On 10/05/20 12:38 pm, ICT SUREN wrote:
>   sir
>  one doubt in python. how  to  enter input value in bold text..
> suren

You can use the colorama package, as shown below:

import colorama

input("Name: " + colorama.Style.BRIGHT)

print(colorama.Style.RESET_ALL)

HTH.

Regards,

Vijay

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chennaipy/attachments/20200510/45e27589/attachment.html>


More information about the Chennaipy mailing list