import os, subprocess
app = "com.android.chrome"
res = subprocess.check_output(["adb","shell","pm","clear",app])

for line in res.splitlines():
    text = line.decode()
    if (text == 'Success'):
        print('Sucesfully cleared cache of '+app)
    else:
        print(line.decode())
f00b271d46a528ecce9ef91b7b4a0f52ff3b2c53
<mask token>

<mask token>
for line in res.splitlines():
    text = line.decode()
    if text == 'Success':
        print('Sucesfully cleared cache of ' + app)
    else:
        print(line.decode())

<mask token>
app = 'com.android.chrome'
res = subprocess.check_output(['adb', 'shell', 'pm', 'clear', app])
for line in res.splitlines():
    text = line.decode()
    if text == 'Success':
        print('Sucesfully cleared cache of ' + app)
    else:
        print(line.decode())

import os, subprocess
app = 'com.android.chrome'
res = subprocess.check_output(['adb', 'shell', 'pm', 'clear', app])
for line in res.splitlines():
    text = line.decode()
    if text == 'Success':
        print('Sucesfully cleared cache of ' + app)
    else:
        print(line.decode())

import os, subprocess
app = "com.android.chrome"
res = subprocess.check_output(["adb","shell","pm","clear",app])

for line in res.splitlines():
    text = line.decode()
    if (text == 'Success'):
        print('Sucesfully cleared cache of '+app)
    else:
        print(line.decode())