codes_as_string = '''فارسی pes_Arab | |
کردی ckb_Arab''' | |
codes_as_string = codes_as_string.split('\n') | |
flores_codes = {} | |
for code in codes_as_string: | |
lang, lang_code = code.split('\t') | |
flores_codes[lang] = lang_code | |
codes_as_string = '''فارسی pes_Arab | |
کردی ckb_Arab''' | |
codes_as_string = codes_as_string.split('\n') | |
flores_codes = {} | |
for code in codes_as_string: | |
lang, lang_code = code.split('\t') | |
flores_codes[lang] = lang_code | |