The below script is tested OK on Windows XP
Step1. cmd -> cd C:\android-sdk-windows\tools
Step2. monkeyrunner monkeyrunner_api_ref.py
Step3. Find it monkeyrunner_api_ref.txt in ./tools
Step1. cmd -> cd C:\android-sdk-windows\tools
Step2. monkeyrunner monkeyrunner_api_ref.py
Step3. Find it monkeyrunner_api_ref.txt in ./tools
#!/usr/bin/env python
from com.android.monkeyrunner import MonkeyRunner
file_ref = open('./monkeyrunner_api_ref.txt','w')
print >> file_ref, MonkeyRunner.help()