`
passionke
  • 浏览: 21499 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论
文章列表
授权书 手偶全数
from selenium import webdriver from selenium.common.exceptions import NoSuchElementException sites = open("site.conf").readlines() for site in sites:     (url, cookie, save_path) = site.split(",")     # browser.delete_cookie(key)     try:         browser = webdriver.Chrome()    ...
python pyton_selenium.py
先安装 nodejs nodejs 安装方式  https://nodejs.org/dist/v4.4.6/node-v4.4.6-x64.msi 下载了直接安装 安装好了之后 打开一个cmd窗口 输入node 看是否有结果 如果提示没有找到文件 则配置相应的系统路径 安装好node之后  执行解压文件中的 test.js 执行方式 node test.js -------------------- 如果不能执行 需要在解压的路径下 执行 npm config set registry https://registry.npm.taobao.org npm install ...
http://chromecj.com/Handler/Download/60
def move_up(temp_x,temp_y,matrix,result):    flag = 0    while(temp_x>0 and matrix[temp_x][temp_y]==0):        flag = flag + 1        matrix[temp_x][temp_y] = result        result = result + 1        temp_x = temp_x - 1        if matrix[temp_x][temp_y]!=0:            temp_x = temp_x + 1            ...
# $language = "Python"# $interface = "1.0" # Connect to a telnet server and automate the initial login sequence.# Note that synchronous mode is enabled to prevent server output from# potentially being missed. def move_right(temp_x,temp_y,matrix,result):    flag = 0    while(tem ...
# $language = "Python"# $interface = "1.0" # Connect to a telnet server and automate the initial login sequence.# Note that synchronous mode is enabled to prevent server output from# potentially being missed.def my_backshape(n):  x_director = [0,1,0,-1]  y_director = [1,0,-1,0]  ...
# $language = "Python"# $interface = "1.0" # Connect to a telnet server and automate the initial login sequence.# Note that synchronous mode is enabled to prevent server output from# potentially being missed.def my_backshape(n):  x_director = [0,1,0,-1]  y_director = [1,0,-1,0]  ...
# $language = "Python"# $interface = "1.0" # Connect to a telnet server and automate the initial login sequence.# Note that synchronous mode is enabled to prevent server output from# potentially being missed.def my_backshape(n):  x_director = [0,1,0,-1]  y_director = [1,0,-1,0]  ...
# $language = "Python"# $interface = "1.0" # Connect to a telnet server and automate the initial login sequence.# Note that synchronous mode is enabled to prevent server output from# potentially being missed.def my_backshape(n):  x_director = [0,1,0,-1]  y_director = [1,0,-1,0]  ...
    把zip包解压到某一个路径。 比如我这边是 /Users/passionke/study/SpeechRecognition   然后 在命令行下切换到这个路径   cd /Users/passionke/study/SpeechRecognition   在这个路径下执行
见附件
众所周知Apache是目前最优秀的HTTP服务器。实际上它不仅能当作服务器使用,也能够被用来架设代理服务器。本文就如何使用Apache架设HTTP代理服务器进行说明。 本文将基于Win32版的Apache 2.0.47进行说明。以前的Apache 1.x版配置方法稍有不同,但这里不作说明。 首先是Apache的安装。从http://www.apache.org上下载Apache的安装程序,双击安装程序进行安装。安装好之后屏幕右下方系统托盘中会出现一个红色的羽毛状图标,那就是Apache的控制程序。单击此图标以启动Apache服务器。这时打开IE并在IE的地址栏中输入http://lo ...
linux下已经耍了很长时间了  今天突然发现avi视频竟然不能播放 装了mplayer也不行  尴尬 找了下 发现 w32codecs可以搞定这一系列的问题 http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia/pool/main/w/w32codecs/ 这个网址下有对应的文件 下载好deb包  安装下就OK了
Global site tag (gtag.js) - Google Analytics