码迷,mamicode.com
首页 >  
搜索关键字:python function    ( 188437个结果)
pycharm安装与实践
PyCharm简介PyCharm是一种Python IDE,带有一整套可以帮助用户在使用Python语言开发时提高其效率的工具,比如调试、语法高亮、Project管理、代码跳转、智能提示、自动完成、单元测试、版本控制。此外,该IDE提供了一些高级功能,以用于支持Django框架下的专业Web开发。详...
分类:其他好文   时间:2014-06-29 13:46:59    阅读次数:319
js中声明函数的区别
在JS中有两种定义函数的方式,1是var aaa=function(){...}2是function aaa(){...}var 方式定义的函数,不能先调用函数,后声明,只能先声明函数,然后调用。function方式定义函数可以先调用,后声明。请看代码:var声明时,只有变量声明提前了,变量的初始化...
分类:Web程序   时间:2014-06-29 13:44:55    阅读次数:356
[leetcode]Anagrams @ Python
原题地址:https://oj.leetcode.com/problems/anagrams/题意:Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be i...
分类:编程语言   时间:2014-06-29 13:25:28    阅读次数:355
PHP中spl_autoload_register函数的用法
spl_autoload_register(PHP 5 >= 5.1.2)spl_autoload_register — 注册__autoload()函数说明bool spl_autoload_register ([ callback $autoload_function ] )将函数注册到SPL ...
分类:Web程序   时间:2014-06-29 12:50:33    阅读次数:232
原生js实现fadein 和 fadeout
js里面设置DOM节点透明度的函数属性:filter= "alpha(opacity=" + value+ ")"(兼容ie)和opacity=value/100(兼容FF和GG)。先来看看设置透明度的兼容性代码:function setOpacity(ele, opacity) { if ...
分类:Web程序   时间:2014-06-29 12:49:31    阅读次数:288
python模块与包
模块是包括python定义和声明的文件。文件名=模块名+".py"。模块名保存在全局变量__name__中。1、模块中的执行语句,只是在导入时执行一次。这些语句通常用于初始化模块。2、被导入的模块被放到全局语义表中。3、import用法 +import moduleName +from modu.....
分类:编程语言   时间:2014-06-29 12:34:03    阅读次数:277
[leetcode]Search a 2D Matrix @ Python
原题地址:https://oj.leetcode.com/problems/search-a-2d-matrix/题意:Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the...
分类:编程语言   时间:2014-06-29 07:56:13    阅读次数:321
Python字符串分割
Python字符串函数应用
分类:编程语言   时间:2014-06-29 07:46:02    阅读次数:392
[leetcode]Valid Sudoku @ Python
原题地址:https://oj.leetcode.com/problems/valid-sudoku/题意:Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could b...
分类:编程语言   时间:2014-06-07 11:26:18    阅读次数:296
六.jQuery源码分析之jQuery原型属性和方法
97 jQuery.fn = jQuery.prototype = { 98 constructor: jQuery, 99 init: function( selector, context, rootjQuery ) { ...
分类:Web程序   时间:2014-06-07 11:09:05    阅读次数:239
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!