consultancyliner.blogg.se

Ascii art maker
Ascii art maker




ascii art maker

This function return ASCII text as str in normal mode and raise artError in exception.

ascii art maker

⚠️ From Version 5.3 \n is used as the default line separator instead of \r\n (Use sep parameter if needed) 1. ⚠️ From Version 3.3 Non-ASCII fonts added (These fonts are not compatible with some environments) ⚠️ Some fonts don't support all characters

  • Note3 : Use ASCII_ARTS to access all ASCII arts name list (new in Version 5.7).
  • Note2 : Use NON_ASCII_ARTS to access all Non-ASCII arts name list (new in Version 4.6).
  • Note1 : Use ART_NAMES to access all arts name list (new in Version 4.2).
  • Randart function is added in Version 2.2 as art("random") shortcut. > aprint ( "butterfly" ) # print art Ƹ̵̡Ӝ̵̨̄Ʒ > aprint ( "happy" ) # print art ۜ\(סּںסּَ` )/ۜ > aprint ( "random" ) # random 1-line art mode '(っ◕‿◕)っ ' > aprint ( "rand" ) # random 1-line art mode 't(-_-t) ' > aprint ( "woman", number = "22" ) # raise artError Traceback (most recent call last). This function print 1-line art in normal mode (return None) and raise artError in exception. > from art import * > art_1 = art ( "coffee" ) # return art as str in normal mode > print ( art_1 ) c > art_2 = art ( "woman", number = 2 ) # return multiple art as str > print ( art_2 ) ▓⚗_⚗▓ ▓⚗_⚗▓ > art ( "random" ) # random 1-line art mode '(っ◕‿◕)っ ' > art ( "rand" ) # random 1-line art mode 't(-_-t) ' > art ( 22, number = 1 ) # raise artError Traceback (most recent call last).

    ascii art maker

    This function return 1-line art as str in normal mode and raise artError in exception. ⚠️ ART 4.6 is the last version to support Bipartite art 1. ⚠️ Some environments don't support all 1-Line arts






    Ascii art maker