name_maker
what's it
It's a program help you make a normal Chinese name and its pingyin.
prepare
- open your cmd
- use
pip install xpinyin
- move the source code to
Python\Lib\site-packages\
- use
import name_maker
to use it
how to use it
- use
makeName()
to make a name as刘思达
- use
makeNamePinyin('','')
to make name asliusida
- use
makeNamePinyin(' ','')
to make name asliu sida
- use
makeNamePinyin(' ',' ')
to make name asliu si da
- use
makeNamePinyin('-','')
to make name asliu-sida
- use
makeNamePinyin('-','-')
to make name asliu-si-da