开发
文章平均质量分 70
DeenK
追求智慧家庭
展开
-
Python语言基础-TCP客户端的Socket通信
1 Python TCP客户端的Socket通信1.1 连接服务器self.serverSock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)self.serverHost ='10.118.21.61'self.serverPort =20173self.serverSock.connect((self.ser原创 2017-11-18 22:08:56 · 280 阅读 · 0 评论 -
Python基础-调用shell和cmd命令
3 Python调用shell和Cmd 命令3.1 启动adb logcat后关闭问题 启动catcmd = "adb -s " + tvIP +":5555 logcat -v time > " + logpathprint catcmdself.lcProcess = subprocess.Popen(catcmd, stdout=subprocess.PIPE, stde原创 2017-11-18 22:11:48 · 598 阅读 · 1 评论 -
subprocess监控子进程的脚本执行
subprocess执行脚本 在执行命令时,在Linux平台,shell=True,否则会报出找不到文件的错误。shell=True,表示采用操作系统命令终端方式处理。3.2.1 常用函数 函数名:call 定义:subprocess.call(args, *, stdin=None,stdout=None, stderr=None原创 2017-11-27 17:05:37 · 2006 阅读 · 0 评论 -
Installing TensorFlow on Ubuntu -转载
Installing TensorFlow on Ubuntu This guide explains how to install TensorFlow on Ubuntu. Although theseinstructions might also work on other Linux variants, we have onlytested (and ...转载 2018-03-04 15:50:39 · 363 阅读 · 0 评论 -
Getting Started with TensorFlow
Getting Started with TensorFlow This document introduces the TensorFlow programming environment and shows youhow to solve the Iris classification problem in TensorFlow.Prerequisites...转载 2018-03-04 15:51:32 · 345 阅读 · 0 评论