Deadly Bloody Serious


Rules of H

Posted in kids by garth on the May 11th, 2007
  1. Put all the cards on the book brochure, lining them up with pictures of books.

  2. Willow picks two cards.

  3. Dad picks the other two.

  4. Each player takes turns. Willow goes first.

  5. In each turn:

    a) Put down a card on a picture of a book.

    b) Say "H" if it's a big book, or "Chok" if it's a small book.

  6. When everybody has put down their cards, everyone sticks their hands in the air and says "Jor! I won!"

    ("Jor" means "I'm first!")

  7. Every day, we like to play H.

Fix: Python Script Arguments Not Passed

Posted in Python by garth on the May 4th, 2007

On Windows, you can run a Python script on the PATH simply with its name. These should be equivalent: 

c:>congeal blood

c:>congeal.py blood

c:>python congeal.py blood

If it's not working that way, fixing PATHEXT and correcting the file type associations with ASSOC and FTYPE will usually do the trick: 

c:>set PATHEXT=%PATHEXT%:.PY

c:>ftype Python.File="C:Python25python25.exe" "%1" %*

c:>assoc .py=Python.File

If that still isn't working, try deleting the following registry key:

HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.PY

There's plenty of advice about PATHEXT, FTYPE, and ASSOC, but none of the search terms I tried dug up the registry key. I knew there had to be one, because giving FTYPE silly arguments didn't stop the script from being executed. I found the registry key by brute-force searching the registry for .PY. I'm posting this so that someone else can save that hour of hassle.


Bad Behavior has blocked 2631 access attempts in the last 7 days.