码迷,mamicode.com
首页 >  
搜索关键字:python function    ( 188437个结果)
此一生 一个纯js的ajax
/** * 得到ajax对象 */function getajaxHttp() { var xmlHttp; try { // Firefox, Opera 8.0+, Safari xmlHttp = new XMLHttpRequest(); ...
分类:Web程序   时间:2014-05-18 19:14:53    阅读次数:389
python的文件读写
python文件的基本读写操作。
分类:编程语言   时间:2014-05-18 18:57:41    阅读次数:233
学习网站列表
Math: https://projecteuler.net/about Pygame: http://nullege.com/ Python: https://www.python.org/...
分类:Web程序   时间:2014-05-18 18:43:54    阅读次数:325
在html中写python代码的语法和特点-----基于webpy的http服务器
在html文件中写python语法的内容,的注意事项: 1:python程序中的变量通过下面方法传入到html: 1:通过全局变量 :全局变量是不需要用$def with语法实现传递的,只要定义了 在html中就可以用,例子如下: =================================================================== #模板公共变量,下...
分类:编程语言   时间:2014-05-18 10:33:55    阅读次数:294
[矩阵+线段树] zoj 3772 Calculate the Function
题目链接: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5235 Calculate the Function Time Limit: 2 Seconds      Memory Limit: 65536 KB You are given a list of numbers A1 A2 .. AN...
分类:其他好文   时间:2014-05-18 09:52:49    阅读次数:410
Windows上python开发--2安装django框架
windows上配置django的开发环境...
分类:编程语言   时间:2014-05-18 03:16:54    阅读次数:274
知识点 总结
1 user focus() 验证错误 光标弹回input标签。 面向对象2 function_construct ( ) 初始化函数3 private : 只能在类使用 。4 public $classname = " fg19" 公开的 变量5 public function ...
分类:其他好文   时间:2014-05-17 23:48:46    阅读次数:403
Python sorted
sorted函数:iterable:是可迭代类型;cmp:用于比较的函数,比较什么由key决定,有默认值,迭代集合中的一项;key:用列表元素的某个属性和函数进行作为关键字,有默认值,迭代集合中的一项;reverse:排序规则. reverse = True 或者 reverse = False,有...
分类:编程语言   时间:2014-05-17 23:36:24    阅读次数:511
Machine learning with python - Linear Regression
Machine learning with python Linear Regression 数据来自 cs229 Problem Set 1 (pdf)Data:q1x.dat,q1y.dat,q2x.dat,q2y.datPS1 Solution (pdf)从左上往右下 batchG...
分类:编程语言   时间:2014-05-17 23:05:44    阅读次数:525
PHP中的中文截取乱码问题_gb2312_utf-8
一、字符串编码为gb2312,一个中文占俩字节public static function chinesesubstr($str, $start, $len) { // $str指字符串,$start指字符串的起始位置,$len指字符串长度 $strlen = $start + $le...
分类:Web程序   时间:2014-05-17 22:47:15    阅读次数:520
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!