glue/README.md

28 lines
738 B
Markdown
Raw Normal View History

2014-10-30 18:10:34 +00:00
#How to use Glue
2014-10-30 17:44:00 +00:00
2014-10-30 18:22:40 +00:00
```
>>> from glue import glue
2014-10-30 17:44:45 +00:00
>>> print glue("any","number","of","things","together")
any number of things together
2014-10-30 17:49:31 +00:00
>>> print glue("any","number","of","things","together",where="anywhere")
any number of things together anywhere
2014-10-30 18:30:22 +00:00
>>> print glue("any","number","of","things","together", "even",["nested","lists"]])
any number of things together even nested lists
2014-10-30 17:44:00 +00:00
```
2014-10-30 17:50:34 +00:00
2014-10-30 18:10:14 +00:00
#Protip
You should probably just use [str.join](https://docs.python.org/2/library/stdtypes.html#str.join) as this is satire.
2014-10-30 18:22:22 +00:00
2014-10-30 18:23:01 +00:00
# Coverage
2014-10-30 18:22:40 +00:00
```
Name Stmts Miss Cover Missing
2014-10-30 18:22:22 +00:00
-------------------------------------
2014-10-30 18:30:22 +00:00
glue 14 0 100%
tests 24 0 100%
2014-10-30 18:22:22 +00:00
-------------------------------------
2014-10-30 18:30:22 +00:00
TOTAL 38 0 100%
2014-10-30 18:22:22 +00:00
```