码迷,mamicode.com
首页 >  
搜索关键字:python 查找    ( 172345个结果
python之socket模块
UDPclient#!/usr/bin/env python2.7#-*-coding:utf-8 -*-import sockets=socket.socket(socket.AF_INET,socket.SOCK_DGRAM)s.sendto("hello",("localhost",8001)...
分类:编程语言   时间:2014-07-22 23:17:33    阅读次数:507
=======================重新开始 华丽分界线=======================
1、python2、selenium 2.03、日语TAT 尽量完成吧
分类:其他好文   时间:2014-07-22 23:15:53    阅读次数:228
对rsync进行封装的shell脚本
抓取#!/bin/bash. push.sh# 错误处理:尝试查找备份文件function onError(){ local errFile="err" local serverInfo=($1 $2 $3) # ip username password l...
分类:其他好文   时间:2014-04-30 16:23:25    阅读次数:449
FindWindow和FindWindowEx
函数原型:FindWindow(lpszClassName,lpszWindowName)参数:lpszClassName--窗口类名;lpszWindowName--窗口标题功能:查找窗口,未找到则返回NULLSDK中HWNDhwnd=FindWindow(NULL,"计算器");if(m_pWn...
分类:Windows程序   时间:2014-04-30 15:58:33    阅读次数:715
[leetcode]Sort List @ Python
原题地址:http://oj.leetcode.com/problems/sort-list/题意:链表的排序。要求:时间复杂度O(nlogn),空间复杂度O(1)。解题思路:由于题目对时间复杂度和空间复杂度要求比较高,所以查看了各种解法,最好的解法就是归并排序,由于链表在归并操作时并不需要像数组的...
分类:编程语言   时间:2014-04-30 15:09:41    阅读次数:428
ubuntu12.04 64位 安装w3af以及相关问题的解决
ubuntu12.04 64位下安装w3af:sudo apt-get install w3af解决安装之后w3af_console不能运行的问题:运行w3af_console会提示如下错误:/usr/bin/w3af_console: 3: /usr/bin/w3af_console: /usr/...
分类:其他好文   时间:2014-04-30 14:56:04    阅读次数:569
【Python】Eclipse和pydev搭建Python开发环境
参考资料: http://www.dotnet120.com/page/10545/ 1.准备工作: 下载32位的JDK6 Java的开发包 下载32位的Eclipse 下载Python 2.x 2.安装JDK6 3.安装Eclipse和Python 4.给Eclipse安装PyDev插件 在Hel...
分类:编程语言   时间:2014-04-29 17:23:46    阅读次数:432
VC6微软正则表达式greta使用案例
#include#include"regexpr2.h"usingnamespacestd;usingnamespaceregex;//greta库的命名空间//若链接出错,设置MFC静态链接//查找匹配串//返回结果匹配串(CStringArray数组指针类型)CStringArray*Find(...
分类:其他好文   时间:2014-04-29 17:15:48    阅读次数:363
测试Flask+PYTHON的WEB框架
参数URL:http://blog.csdn.net/qwiwuqo/article/details/8970621安装flask之前,你必须要先安装python和easy_install。安装 virtualenv,这个主要是用来做解释器环境隔离的,避免同一机器上的多个python或者多个pyth...
分类:编程语言   时间:2014-04-29 16:38:46    阅读次数:446
[leetcode]3Sum Closest @ Python
原题地址:http://oj.leetcode.com/problems/3sum-closest/题意:数组中每三个元素进行求和,找出所有和中大小最接近target的和,并返回这个和与target之间的差值。解题思路:使用一个变量mindiff来监测和与target之间的差值,如果差值为0,直接返...
分类:编程语言   时间:2014-04-29 16:37:46    阅读次数:432
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!