码迷,mamicode.com
首页 >  
搜索关键字:python function    ( 188437个结果)
python--日期操作
import datetimedatetime有几个常用类:date time datetime timedelta1. 今天日期时间(今天时间)>>> import datetime>>> now = datetime.datetime.now()>>> print now2014-06...
分类:编程语言   时间:2014-06-05 16:47:38    阅读次数:299
Python核心编程(第二版) 第六章习题答案
6–1.字符串.string 模块中是否有一种字符串方法或者函数可以帮我鉴定一下一个字符串是否是另一个大字符串的一部分?答:有,string.find(str,beg,end)6–2.字符串标识符.修改例 6-1 的 idcheck.py 脚本,使之可以检测长度为一的标识符,并且可以识别 Pytho...
分类:编程语言   时间:2014-06-05 15:25:41    阅读次数:338
学习资源(二)
最近在微博中发现MOOC上有了Python的教程,出于兴趣就打算简单的听一听了解一下,今天听了第一期的讲座,老师讲的非常形象,大家有兴趣可以去看一看https://class.coursera.org/pythonlearn-002/lecture课程是全英文的,但是有英文字幕,在学习的同时可以学习...
分类:其他好文   时间:2014-06-05 14:35:33    阅读次数:266
给Ajax 优化代码
给自己的代码优化一下function Dream_Ajax(url, parms, fuSuccess, fuError, isAsync, isPost, retrueType) { /// Ajax自定义请求 /// 请求url /// 参数 /// 请求成功 //...
分类:其他好文   时间:2014-06-05 14:16:56    阅读次数:219
leetcode--Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-06-05 14:15:07    阅读次数:221
ECmall错误:Call to a member function get_users_count() on a non-object
问题描述:在后台添加了一个app报错:Call to a member function get_users_count()Fatal error: Call to a member function get_users_count() on a non-object in \includes\ec...
分类:其他好文   时间:2014-06-05 13:46:23    阅读次数:235
php+mssql 已经写好的万能函数
link=$link; } function __destruct(){ }/******************************************************************************************...
分类:数据库   时间:2014-06-05 13:45:11    阅读次数:365
Extjs4使用iframe注意事项
1 "video" : { 2 render : function(panel, eOpts) { 3 // 因为iframe在video 4 // panel渲...
分类:Web程序   时间:2014-06-05 13:39:15    阅读次数:216
Python字符串操作
Python中有关字符串的一些函数
分类:编程语言   时间:2014-06-05 13:17:16    阅读次数:301
Python,ElementTree模块处理XML时注释无法读取和保存的问题
from xml.etree import ElementTreeclass CommentedTreeBuilder ( ElementTree.XMLTreeBuilder ): def __init__ ( self, html = 0, target = None ): ...
分类:编程语言   时间:2014-06-05 13:16:31    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!