You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ORPA-pyOpenRPA/Robot_Old/Help.txt

22 lines
1.0 KiB

Runone bitness from another
Python 32 bit
p = subprocess.Popen(['python','C:\\Abs\\archive\\scopeSrcUL\\OpenRPA\\winGUI.py'],stdin=subprocess.PIPE,stdout=subprocess.PIPE)
Python 64 bit
p = subprocess.Popen(['C:\\Users\\Acer\\AppData\\Local\\Programs\\Python\\Python37\\python.exe','C:\\Abs\\archive\\scopeSrcUL\\OpenRPA\\winGUI.py'],stdin=subprocess.PIPE,stdout=subprocess.PIPE)
Parent process:
p.stdin.write(b'Hello\n'))
p.stdin.flush()
//p.stdin.write(bytes("Hello" % x,"utf-8"))
ChildProcess:
sys.stdin.readline() (Ждет конец строки \n)
sys.stdin.read() (Ждет конец строки EOF)
Нужно научиться конверить все строки в коды символов, чтобы небыло ложных срабатываний
.encode("zlib_codec")
.decode("zlib_codec")
Стандартизированный формат даты для JSON (от JS) - учет часового пояса производится отдельно тк JS хранит все даты в UTC
2012-04-23T18:25:43.511Z