Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

print specific part in bold or colours and end.

class color:
   PURPLE = '33[95m'
   CYAN = '33[96m'
   DARKCYAN = '33[36m'
   BLUE = '33[94m'
   GREEN = '33[92m'
   YELLOW = '33[93m'
   RED = '33[91m'
   BOLD = '33[1m'
   UNDERLINE = '33[4m'
   END = '33[0m'

print(color.BOLD + 'Hello World !' + color.END)
Comment

PREVIOUS NEXT
Code Example
Python :: python range for float 
Python :: como eliminar palabras repetidos de una lista python 
Python :: django.db.backends.mysql install 
Python :: python get webpage source 
Python :: python format currency 
Python :: how to sum the revenue from every day in a dataframe python 
Python :: install postgres for python mac 
Python :: module pygame has no member 
Python :: how to read csv file online into pandas 
Python :: python get last modification time of file 
Python :: kivymd simple button 
Python :: how to create a car game using python 
Python :: pygame render text 
Python :: create pickle file python 
Python :: redirect to the same page django 
Python :: update python 3.10 ubuntu 
Python :: last element in dictionary python 
Python :: how to set default python version in macos 
Python :: python module for converting miles to km 
Python :: install python decouple 
Python :: maximizar ventana tkinter python 
Python :: how to make a url shortener in python 
Python :: python add current directory to import path 
Python :: python read yaml 
Python :: edge detection opencv python 
Python :: python save figure as pdf 
Python :: find position of nan pandas 
Python :: discord.py create text channel 
Python :: python get the elements between quotes in string 
Python :: log transform pandas dataframe 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =