Text art error message3/12/2024 ![]() This function print ASCII text in normal mode (return None) and raise artError in exception. > Art = text2art ( "art" ) # Return ASCII text (default font) and default chr_ignore=True > print ( Art ) _ _ _ _ _ | |_ / _` || '_|| _| | (_| || | | |_ \_,_||_| \_| > Art = text2art ( "art", font = 'block', chr_ignore = True ) # Return ASCII text with block font > print ( Art ). This function return ASCII text as str in normal mode and raise artError in exception. ⚠️ From Version 3.3 Non-ASCII fonts added (These fonts are not compatible with some environments) 1. ⚠️ Some fonts don't support all characters ![]() Randart function is added in Version 2.2 as art("random") shortcut. ´¯)->test> aprint ( "random" ) # random 1-line art mode '(っ◕‿◕)っ ' > aprint ( "rand" ) # random 1-line art mode 't(-_-t) ' > aprint ( "woman", number = "22", text = "" ) # raise artError Traceback (most recent call last). ![]() This function print 1-line art in normal mode (return None) and raise artError in exception.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |