Skip to content

R3CKhi/Python-Colored-Text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Colored Text Class

Made by R3CKhi

How To Use ;

Show How To Install Colored Text

Bash~$

git clone https://github.com/L45T500TH4CCK/PythonColoredText.git

Show How To Import Colored Text Another Project

  • Import colors

from Your_colorText_Path.colorText import colors  

Show How To Use Colored Text Another Project

  • I'm using print command

  • You can use another commands
print(colors.Lime + " This Text color -> Lime " + colors.CD)

Show Example Code

Example

from random import randrange
from colorText import colors

A = str(randrange(193913,2123123123))

print(colors.Yellow + " Account ID: " + colors.CD + colors.Lime + A + colors.CD)

Random Number

Show What's This RandRange

randrange(min_val , max_val)  
print(str(randrange(1,3)))

Output >>> 1 or 2 

randrange(1,3) --> [1,3)