Hacker Newsnew | comments | show | ask | jobs | submitlogin
anthonyb 586 days ago | link | parent

Python version:

  python -c 'import random; print "".join(random.choice(r"/\\") for i in range(80*24))'


groovy2shoes 586 days ago | link

Same thing, but with corner-to-corner unicode glyphs:

    python -c 'import random; print "".join(random.choice([u"\u2571",u"\u2572"]) for i in range(80*24))'

-----

est 585 days ago | link

python -c "print ''.join(__import__('random').choice(u'\u2571\u2572') for i in range(80*24))"

-----




Guidelines | FAQ | Lists | Bookmarklet | DMCA | News News | Bugs and Feature Requests | Y Combinator | Apply | Library | Contact

Search: