glue/README.md

14 lines
357 B
Markdown
Raw Normal View History

2014-10-30 17:44:00 +00:00
How to use Glue
```
2014-10-30 17:44:45 +00:00
>>> from glue import glue
>>> 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 17:44:00 +00:00
```
2014-10-30 17:50:34 +00:00
Protip: You should probably just use
[str.join](https://docs.python.org/2/library/stdtypes.html#str.join)