glue/glue.py

5 lines
150 B
Python
Raw Normal View History

2014-10-30 17:49:31 +00:00
def glue(*args, **kwargs):
what_to_glue = list(args)
what_to_glue.extend([v for k,v in kwargs.iteritems()])
return " ".join(what_to_glue)