Python project for Windows 11

The Warren Buffett Way terminal animation

A Python-only program that prints three book screens slowly, clears the terminal between screens, and starts each new page at the top.

Run it on Windows 11

  1. Install Python 3 from python.org. During setup, select Add python.exe to PATH.
  2. Select Download Python file above. The file normally saves in your Downloads folder.
  3. Open File Explorer and go to Downloads. Select the address bar, type cmd, and press Enter.
  4. In the Command Prompt window, run py buffett_book.py.
  5. To slow it down, run py buffett_book.py --character-delay 0.04 --line-delay 0.25 --page-pause 3.

If Windows does not recognize py, use python buffett_book.py instead. Press Ctrl+C to stop the animation.

Complete source code

Open source as plain text
Loading source code...