那年是787年!公元?——Monty
Python任何规则都不可能如此一般,以至不能容许任何例外(异常)。——Bobert Burton1、模块化和界面
任何实际程序都是由一些部分组成的。例如,最简单的“ Hello, world! ”程序也涉及到至少两部分:用户代码要求将Hello, world....
分类:
其他好文 时间:
2014-05-06 00:19:04
阅读次数:
382
引言
LZ之前其实一直对python都很好奇,只是苦于平时没有时间去了解它,因此趁着51假期这个机会,便迫不及待的开始了自己的探索。作为一个标准的Java程序猿,在了解python的过程当中,LZ遇到了很多囧事,接下来LZ就一一给大家说道说道。本文纯属看个乐子,非python教学。囧事一:ecli....
分类:
编程语言 时间:
2014-05-05 23:02:42
阅读次数:
356
1. introductionfrom numpy import
*random.rand(4,4)#array to matrixrandMat=mat(randon.rand(4,4))#matrix
inverseIvrandMat=randMat.I#indentity matrixeye(...
分类:
编程语言 时间:
2014-05-05 22:24:10
阅读次数:
336
列表推导式(list
comprehension)是利用其他列表创建新列表(类似于数学术语中的集合推导式)的一种方法。它的工作方式类似于for循环,也很简单:In [39]:
[x*x for x in range(10)]Out[39]: [0, 1, 4, 9, 16, 25, 36, 49, ...
分类:
编程语言 时间:
2014-05-05 22:21:48
阅读次数:
422
原地址:http://game.ceeger.com/Unity/Doc/2011/Unity3D_For_Android.html我自认为抵挡诱惑的能力还是很强大的,关键的时候还能把持住自己。今天逛了一下南京的丹凤街,终于受不住Android这美眉的诱惑。她虽脸蛋不怎么滴,但身材火热,且性感,廉价...
分类:
移动开发 时间:
2014-05-05 22:18:52
阅读次数:
504
原地址:http://www.davebost.com/2013/08/30/creating-a-unity-game-for-windows-8Therecent
release of Unity 4.2brings with it full-support for deploying Unit...
原地址:http://digitalerr0r.wordpress.com/2013/09/30/unity-game-starter-kit-for-windows-store-and-windows-phone-store-games/Posted
onSeptember 30, 2013byd...
原地址:http://digitalerr0r.wordpress.com/2013/08/27/unity-for-windows-iiipublishing-to-windows-phone-store/InPart
IIwe covered how you can publish your g...
先从中国天气网得到数据('http://www.weather.com.cn/data/cityinfo/'+城市编码),每个城市都有各自的编码,如何得到用户所在地的城市编码呢?用一个网页就是专门干这个的!http://61.4.185.48:81/g/...
分类:
编程语言 时间:
2014-05-04 00:27:18
阅读次数:
494
就是找到硬盘中所有的MP3文件和wma文件,再随机打开其中的一个。...
分类:
编程语言 时间:
2014-05-03 17:10:52
阅读次数:
286