Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/axiaoxin/xmastree

命令行版圣诞树 嘻噜噜噜噜噜噜~
https://github.com/axiaoxin/xmastree

Last synced: about 11 hours ago
JSON representation

命令行版圣诞树 嘻噜噜噜噜噜噜~

Awesome Lists containing this project

README

        

===============================
xmastree
===============================

![](screenshot.gif)

merry xmas

**install**

pip install xmastree

or

python setup.py install

**usage**

python:

In [1]: __import__('xmastree').XmasTree().show()
*
/ \
/ \
/ \
/ @\
/ @ \
/ ! $\
/ ^\
/# ! \
/^ \
/ \
/! # $ \
/ $ \
/^ \
/ % ! \
/&@# ^@ ! \
/ # \
/@ & $ #% \
/___________________\
| |

shell:

ashin@hasee:~
> xmastree
*
/ \
/ \
/ \
/ \
/ ! \
/ %$ \
/ ^ & \
/ @ \
/ #^ \
/ $! \
/ % \
/ \
/$ \
/ # % \
/ & ! \
/ % # \
/ @& %# @ \
/___________________\
| |

ashin@hasee:~
> xmastree -H 10 -C 140
*
/ \
/ \
/ $\
/ %\
/ \
/% \
/ ! \
/_________\
| |