PyADB
PyADB copied to clipboard
Style guidelines
snake_case is the preferred method of naming both functions and multi-word variables. I'd also suggest keeping variable names for primitives to lowercase and reserving capitalized variable names for objects. For example in this block from the "StartApplication" function in Android.py
:
Command = 'sudo adb -s ' + udid + " shell monkey -p " + str(app) + " -c android.intent.category.LAUNCHER 1"
Command
is a String, but due to style it seems as though it should be an object