Skip to content

Instantly share code, notes, and snippets.

@poochin
Created March 12, 2012 08:14
Show Gist options
  • Select an option

  • Save poochin/2020670 to your computer and use it in GitHub Desktop.

Select an option

Save poochin/2020670 to your computer and use it in GitHub Desktop.
スクリプトに代わりに腹筋させます。
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import locale
import curses
locale.setlocale(locale.LC_ALL, '')
fukkin = (
[" ○ > %18d...",
"∧ _ノ"],
[" %18d...",
"∧ _○ >",])
stdscr = curses.initscr()
stdscr.clear()
i = 0
while i < 179111470058057728:
stdscr.addstr(0, 0, fukkin[0][0] % i)
stdscr.addstr(1, 0, fukkin[0][1])
stdscr.refresh()
stdscr.addstr(0, 0, fukkin[1][0] % i)
stdscr.addstr(1, 0, fukkin[1][1])
stdscr.refresh()
i = i + 1
curses.endwin()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment