Skip to content

Instantly share code, notes, and snippets.

@oa414
Created January 31, 2013 07:40
Show Gist options
  • Select an option

  • Save oa414/4681079 to your computer and use it in GitHub Desktop.

Select an option

Save oa414/4681079 to your computer and use it in GitHub Desktop.
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
content = MonkeyRunner.help("html"); # can replace with [[ content = MonkeyRunner.help("txt"); ]] tot generate txt document
f = open('help.txt', 'w');
f.write(content);
f.close();
#usage : monkeyrunner monekyrunner_generate_doc.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment