Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Python version:

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


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))'


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: