Message from Python discussions

November 2018

— Are you reading output of this command?

— 

I followed this:
https://stackoverflow.com/questions/44989808/subprocess-typeerror-a-bytes-like-object-is-required-not-str-python-2
but nothing

— No

— But it opens cmd..

— 

   cmd = 'start COLOR 1f ' + '^&' + 'mode con: cols=200 lines=50 ' + '^&' + 'ssh ' + username.get() + '' + ip_num.get()
prog = subprocess.Popen(cmd, stdin = subprocess.PIPE, stdout = subprocess.PIPE,stderr = subprocess.PIPE,shell=True)
prog.stdin.flush()
prog.stdout.flush()

prog.communicate(input='ping 8.8.8.8')

Message permanent page

— Need help

— This code should be followed by
output = prog.communicate()
Then you can use output wherever you like

Message permanent page

— Doeasnt matter..
still have the error

— Is there any way for second clipboad in python

— Clicpboard1 and Clipboard2

— What is that language?

— Here this 1