Shuaifu Language
Project description
Shuaifu
Yet another language
Install
pip install shuaifu
Usage
import shuaifu
shuaifu.believe() # print believe words
print(shuaifu.get_version()) # print version
print(shuaifu.translate('woxbyhukfu!')) # translate into pinyin
or
import shuaifu
shuaifu.xbyh() # uuiuxbyhwfbf
print(shuaifu.bjbf()) # uuiubjbf
print(shuaifu.fjyi('woxbyhukfu!')) # fjyidcpbyb
Get Holidays
import shuaifu
if __name__ == '__main__':
startYear = 2000
count = 10
for i in shuaifu.holidays(startYear,count):
print(i)
or
import shuaifu
if __name__ == '__main__':
kdui = 2000
uull = 10
for i in shuaifu.jxqi(kdui,uull):
print(i)
the out put will be
2002-12-14
2003-12-14
2008-12-14
Advanced Usage
import shuaifu
@shuaifu.believe
def hello(name):
print('Hello '+ name)
if __name__ == '__main__':
hello('World')
the output will be
函数hello受到了感化,函数hello开始信仰帅副了!
函数hello沐浴教旨,努力工作,终于有了结果
Hello World
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shuaifu-1.3.0.tar.gz
(4.0 kB
view hashes)