QT – Italic

๐˜Š๐˜ฐ๐˜ฏ๐˜ท๐˜ฆ๐˜ณ๐˜ต ๐˜ฑ๐˜ญ๐˜ข๐˜ช๐˜ฏ ๐˜ต๐˜ฆ๐˜น๐˜ต ๐˜ต๐˜ฐ ๐˜ถ๐˜ฏ๐˜ช๐˜ค๐˜ฐ๐˜ฅ๐˜ฆ ๐˜ช๐˜ต๐˜ข๐˜ญ๐˜ช๐˜ค

#!/usr/bin/python3
import sys
str = ' '.join(sys.argv[1:])
def bold(input_text):
    chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
    bold_chars = "๐˜ˆ๐˜‰๐˜Š๐˜‹๐˜Œ๐˜๐˜Ž๐˜๐˜๐˜‘๐˜’๐˜“๐˜”๐˜•๐˜–๐˜—๐˜˜๐˜™๐˜š๐˜›๐˜œ๐˜๐˜ž๐˜Ÿ๐˜ ๐˜ก๐˜ข๐˜ฃ๐˜ค๐˜ฅ๐˜ฆ๐˜ง๐˜จ๐˜ฉ๐˜ช๐˜ซ๐˜ฌ๐˜ญ๐˜ฎ๐˜ฏ๐˜ฐ๐˜ฑ๐˜ฒ๐˜ณ๐˜ด๐˜ต๐˜ถ๐˜ท๐˜ธ๐˜น๐˜บ๐˜ป"
    output = ""
    for character in input_text:
        if character in chars:
            output += bold_chars[chars.index(character)]
        else:
            output += character
    return output
print (bold(str))


											
Unknown's avatar

About Linuxgal

Need a spiritual home? Consider joining us at Mary Queen of the Universe Latter-day Buddhislamic Free Will Christian UFO Synagogue of Vishnu
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a comment