Message from Python discussions

November 2018


prog = subprocess.Popen(cmd, stdin = subprocess.PIPE, stdout = subprocess.PIPE,shell=True)

how can i insert command to the cmd win that opened ?
already tried:

Message permanent page


Import androidhelper

droid = androidhelper.Android()
droid.startActivity('android.intent.action.VIEW', '', None, None, False, None, None)

— How open url?

— Wat is it

— Just run a script ?

— Dont want that

— Why not


im setting this err:
TypeError: a bytes-like object is required, not 'str'

— Hi

— It explains the issue

— Cause i wanna do diff command each time with gui..

— Hiiii