Flagmoji
A Python package that converts a country code or country name into a country's flag emoji.
Heavily inspired by: Jonathan Kosgei's Emoji Flags
- Differs by allowing country name as well
Previously known as: Emoji Flag Converter
Install
pip install flagmoji
Usage
> flagUS = byCode("US")
> print(flagUS)
> πΊπΈ
> flagCN = byName("China")
> print(flagChina)
> π¨π³
Hope this helps!
Second Python Project