码迷,mamicode.com
首页 >  
搜索关键字:python windows服务    ( 136859个结果)
Python httpsqs封装类
'''httpsqs?????@author xiaopenga = HttpsqsClient('192.168.0.218','1218','httpsqsmmall.com')print a.put('logtest','sdfsfsf')print a.get('logtest')'''im...
分类:编程语言   时间:2014-07-07 11:15:30    阅读次数:249
Python递归遍历目录下所有文件
#自定义函数:import ospath="D:\\Temp_del\\a"def gci (path): parents = os.listdir(path) for parent in parents: child = os.path.join(path,parent)...
分类:编程语言   时间:2014-07-07 10:08:15    阅读次数:343
python基础学习12(核心编程第二版)部分
#-*-coding:utf-8-*-#====================#File:python#Author:python#Date:2014#====================__author__='Administrator'#pythonclass#面向对象编程oop思想,3个...
分类:编程语言   时间:2014-07-03 23:24:06    阅读次数:447
python 列表推导式
1、列表推导式书写形式: [表达式 for 变量 in 列表] 或者 [表示式 for 变量 in 列表 if 条件] 1 #!/usr/bin/python 2 # -*- coding: utf-8 -*- 3 4 li = [1,2,3,4,5,6,7,8,9] 5 print [x*...
分类:编程语言   时间:2014-07-03 23:23:02    阅读次数:212
Python中map,filter,reduce的应用
事例1:l=[('main', 'router_115.236.xx.xx', [{'abc': 1}, {'dfg': 1}]), ('main', 'router_183.61.xx.xx', [{'abc': 0}, {'dfg': 1}]), ('main', 'router_5...
分类:编程语言   时间:2014-07-03 22:31:47    阅读次数:363
centos系统python升级2.7.3
首先下载源tar包可利用linux自带下载工具wget下载,如下所示:wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz下载完成后到下载目录下,解压tar -zxvf Python-2.7.3.tgz进入解压缩后的文件夹cd Py...
分类:编程语言   时间:2014-07-03 22:29:41    阅读次数:226
[ZZ]10 Most Common Mistakes that Python Programmers Make
About PythonPythonis an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures,...
分类:编程语言   时间:2014-07-03 22:24:34    阅读次数:287
python中os模块中文帮助
python中os模块中文帮助python中os模块中文帮助文档文章分类:Python编程python中os模块中文帮助文档翻译者:butalnd 翻译于2010.1.7——2010.1.8,个人博客:http://butlandblog.appspot.com/注此模块中关于unix中的函数大部分...
分类:编程语言   时间:2014-07-03 20:03:08    阅读次数:333
centos 安装git server
1.yum install lrzsz wget git2.安装gitosis:gitosis为Git用户权限管理系统,通过管理服务端的/home/git/.ssh/authorized_key文件来执行对用户权限的管理,是一个python模块包#yum install python python-...
分类:其他好文   时间:2014-07-03 12:41:36    阅读次数:324
python其他
#-*-coding:utf-8-*-#====================#File:python#Author:python#Date:2014#====================__author__='Administrator'#第6章unicode#unicode支持超过9000...
分类:编程语言   时间:2014-07-03 12:23:00    阅读次数:378
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!