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
- Install Python 3 from python.org. During setup, select Add python.exe to PATH.
- Select Download Python file above. The file normally saves in your Downloads folder.
- Open File Explorer and go to Downloads. Select the address bar, type
cmd, and press Enter. - In the Command Prompt window, run
py buffett_book.py. - 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 textLoading source code...