码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
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
网络编程练习 -- NSURLCache
LWTViewController.m//// LWTViewController.m// 网络编程练习 -- NSURLCache//// Created by apple on 14-7-2.// Copyright (c) 2014年 lwt. All rights reserved....
分类:其他好文   时间:2014-07-07 09:42:32    阅读次数:180
网络编程练习 -- POST-JSON数据
LWTViewController.m//// LWTViewController.m// 网络编程练习 -- POST-JSON数据//// Created by apple on 14-7-2.// Copyright (c) 2014年 lwt. All rights reserved...
分类:Web程序   时间:2014-07-07 09:22:26    阅读次数:192
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
Linux top命令的用法详细详解
查看多核CPU命令mpstat -P ALL 和 sar -P ALL说明:sar -P ALL > aaa.txt 重定向输出内容到文件 aaa.txttop命令经常用来监控linux的系统状况,比如cpu、内存的使用,程序员基本都知道这个命令,但比较奇怪的是能用好它的人却很少,例如top监控视图...
分类:系统相关   时间:2014-07-03 23:10:38    阅读次数:336
网络编程练习 -- 大文件下载
LWTViewController.m//// LWTViewController.m// 网络编程练习 -- 大文件下载//// Created by apple on 14-6-28.// Copyright (c) 2014年 lwt. All rights reserved.//#i...
分类:其他好文   时间:2014-07-03 23:08:37    阅读次数:236
网络编程练习 -- 文件上传
LWTViewController.m//// LWTViewController.m// 网络编程练习 -- 文件上传//// Created by apple on 14-6-30.// Copyright (c) 2014年 lwt. All rights reserved.//#im...
分类:其他好文   时间:2014-07-03 23:07:34    阅读次数:196
SqlServer禁用启用触发器、外键约束
--启用or禁用指定表所有外键约束 alter table tbname NOCHECK constraint all alter table tbname CHECK constraint all--查看约束select name , is_disabled from sys.forei...
分类:数据库   时间:2014-07-03 22:41:58    阅读次数:416
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!