码迷,mamicode.com
首页 >  
搜索关键字:python objects all    ( 160304个结果)
Python cPickle模块
新博客地址:http://gorthon.sinaapp.com/持久性就是指保持对象,甚至在多次执行同一程序之间也保持对象。通过本文,您会对 Python对象的各种持久性机制(从关系数据库到 Python 的 pickle以及其它机制)有一个总体认识。另外,还会让您更深一步地了解Python 的对...
分类:编程语言   时间:2014-07-16 18:58:18    阅读次数:276
[leetcode]Palindrome Partitioning
Palindrome PartitioningGiven a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioni...
分类:其他好文   时间:2014-07-16 17:41:15    阅读次数:173
python 输入参数解包,模块导入,接收IO输入参数
#coding=utf-8from sys import argvscript,first,second,third = argvprint "the script is=",scriptprint "the first is=",firstprint "the second is=",second...
分类:编程语言   时间:2014-07-16 17:39:23    阅读次数:416
python re正则表达式模块
模块的的作用主要是用于字符串和文本处理,查找,搜索,替换等复习一下基本的正则表达式吧.:匹配除了换行符以为的任意单个字符*:匹配任意字符,一个,零个,多个都能匹配得到 俗称贪婪模式+:匹配位于+之前的一个或者多个字符|:匹配位于|之前或者之后的字符^:匹配行首$:匹配行尾?:匹配位于?之前的零个或者...
分类:编程语言   时间:2014-07-16 17:37:45    阅读次数:237
python制作安装包(setup.py)
1.制作setup.pyfrom distutils.core import setupsetup(name='Myblog', version='1.0', description='My Blog Distribution Utilities', author='l...
分类:编程语言   时间:2014-07-16 15:45:26    阅读次数:197
[转]The culture name list in C#
Culture Names [C#]This example shows how to get all culture names in the .NET Framework. Use static methodCultureInfo.Get­Cultures. To get associated ...
分类:其他好文   时间:2014-07-16 15:25:54    阅读次数:228
ansible来了
原文链接番一、OP酱的自白 自从入了贵圈,每天需要强大的内心来维护混乱的线上,每天都是用浆糊一样的shell /python在糊墙补窟窿啊,感觉每天都是在和if else打交道啊,每次花牛鼻子劲写的脚本,下次来点新需求,能重用的部分居然少到不想再重用,很绝望啊,有木有?批量运行工具还是在lhck ....
分类:其他好文   时间:2014-07-16 12:23:04    阅读次数:380
数学之路-python计算实战(13)-机器视觉-图像增强
指数变换的基本表达式为:y=bc(x-a)-1 当中參数b、c控制曲线的变换形状,參数a控制曲线的位置。指数变换的作用是扩展图像的高灰度级、压缩低灰度级。能够用于亮度过高的图像本博客全部内容是原创,假设转载请注明来源http://blog.csdn.net/myhaspl/对太阳图像进行变换,使低亮...
分类:编程语言   时间:2014-07-16 12:01:12    阅读次数:313
Find the smallest number whose digits multiply to a given number n
Given a number ‘n’, find the smallest number ‘p’ such that if we multiply all digits of ‘p’, we get ‘n’. The result ‘p’ should have minimum two digits...
分类:其他好文   时间:2014-07-16 08:55:04    阅读次数:208
uva133-The Dole Queue
The Dole Queue  In a serious attempt to downsize (reduce) the dole queue, The New National Green Labour Rhinoceros Party has decided on the following strategy. Every day all dole applicants...
分类:其他好文   时间:2014-07-16 08:38:31    阅读次数:311
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!