def main(args):
    wordcloud = wc.WordCloud(stopwords=args.stopwords, mask=args.mask,
        width=args.width, height=args.height, font_path=args.font_path,
        margin=args.margin, relative_scaling=args.relative_scaling,
        color_func=args.color_func, background_color=args.background_color).generate(args.text)
    image = wordcloud.to_image()

    with args.imagefile:
        out = args.imagefile if sys.version < '3' else args.imagefile.buffer
        image.save(out, format='png')
dataset/ETHPy150Open amueller/word_cloud/wordcloud/wordcloud_cli.py/main/original