用于gui的维吾尔文字符串转换工具

elkatip的Python项目详细描述


埃尔卡普蒂普

0。说明

This is a Uyghur text convert tool for gui. sometimes u want to display uyghur language in graphic softwares like photoshop or game engines like cocos2dx and unity3d, and u may find chat the characters displayed is not connecting each other. this time u will neet this tool to convert the common uyghur language text and display the converted language.

1。安装

pipinstallelkatip# python3

2。图形界面的使用

if u only want to convert some texts to show in graphic softwares like ps , u can use the gui program to do that. u can start the gui program by python elkatip comand in root directory or create your own script and show it like this:

^{pr2}$

ui

3。程序接口的使用

if u want to display lots of text in your game or watemark in a photo, then u can use the the string converted by this tool.

fromelkatipinportElkatipktp=Elkatip()uyghurqa1=""# the common unicode base area stringuighurche1=ktp.toExt(uyghurqa1)# the unicode extended area stringuighurche2=""# the unicode extended area stringuyghurqa2=ktp.toBase(uighurche2)# the common unicode base area string

note: uyghurqa1 and uyghurqa2 are the common text typed by modern input method. and uighurche1 and uighurche2 are the extended area string which u can dislay normally in a graphic program

4。最后

honestly, this tool is a java utils when i found it, and i need a python version. so i had to implement the python version myself, and i dont want u to do the same thing i did. hope it is helpful for u.

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何避免springbootstarterparent和dependency中的flyway包冲突   java文本文件写入不起作用   java获取名为DAO类的Bean创建异常   java类路径和清单文件   如何使用Java中的模式来获取像C中的“sscanf”这样的组?   java Spring自动连接具有构造函数的类   clientSecurity运行的java geode示例失败   java JavaFX:在FXML中从ResourceBundle访问非string对象   java登录到google firebase   java对象在通过构造函数后不会更改。为什么?   java(Android)对特定页面的操作webView   javascript如何在webview的js中从java调用变量   持久化—一种在Java中存储和检索对象而不使用关系数据库的简单方法?   java Ldap获取通讯组列表中的用户   java检查温度条件   java后退按钮警报框(Android Studio)   数组java列表问题:为什么我运行它时,它会在第三次打印时打印出4?   java相对路径与绝对路径