码迷,mamicode.com
首页 >  
搜索关键字:python os os.path sys    ( 285836个结果
第二十五课:CMOS 和能量
1.反相器驱动电容的情形:电容来自于之后的门电路以及导线 P= Vs2/2Rl + CVs2 f 待机功率加上动态功率 用假设值计算,对于1Ghz,108(一个芯片上的门电路数目)门电路,待机功率会达到125Kw ,动态功率为250W 实际功率都在100W作用,因此前面的待机功率一定有问题 ...
分类:其他好文   时间:2014-05-01 01:11:51    阅读次数:318
python压缩文件脚本
zf.py文件"""desc:读取配置文件config.ini压缩sourcepath路径到targetpath 并可以排除不需要压缩的文件excludefiletime:2014/4/30 12:03:42author:ggh"""import zipfile, os, configpar...
分类:编程语言   时间:2014-05-01 00:59:26    阅读次数:428
游戏杂谈
既然是游戏人生, 随便写点游戏方面的吧.最近主要在玩的游戏是PSVita的龙之皇冠(Dragon Crown), 听朋友说不错, 所以就试一下. 除了巨乳的噱头以外, 游戏性其实还是蛮不错的. 在很多人追求3D画面,挖掘机能的时候, 龙冠的2D地下城游戏仍然做得很不错. 这款游戏应该是我在Vita里...
分类:其他好文   时间:2014-05-01 00:36:42    阅读次数:311
唐德刚在胡适口述中的一段注释
(作者: 唐德刚)在上述讲演里,胡先生做了一个大胆的结论: 我的玩意儿对国家贡献最大的便是文学的“玩意儿”,我所没有学过的东西。最近,研究《水经注》(地理学的东西)。我已经六十二岁了,还不知道我究竟学什么。都在东摸摸,西摸摸,也许我以后还要学学水利工程亦未可知,虽则我现在头发都白了,还是无所专长,....
分类:其他好文   时间:2014-04-30 23:50:31    阅读次数:466
Python如何安装模块
以安装Beautifulsoup4为例:1.到网站上下载:http://www.crummy.com/software/BeautifulSoup/bs4/download/2.解压文件到C:\Python273.cmd运行C:\Python27\BeautifulSoup>python setup...
分类:编程语言   时间:2014-04-30 23:38:09    阅读次数:495
Writing your first Django
Quick install guide1.1 Install Python, it works with Python2.6, 2.7, 3.2, 3.3. All these version of Python include a lightweight database SQLite, so y...
分类:其他好文   时间:2014-04-30 23:14:34    阅读次数:566
linux 下安装 mysql 并配置 python 开发环境
1.安装 mysql ,安装过程中将提示设置 root 用户的密码,默认可以设置为 rootadmin 。$ sudo apt-get install mysql-server2.安装 mysql 开发工具(不安装时,安装 MySQL-python 提示错误"mysql_config not fou...
分类:数据库   时间:2014-04-30 23:00:18    阅读次数:625
java Annotation 自定义实例
Defining annotations Here is the definition of the annotation above. You can see that annotation definitions look a lot like interface definitions.  In fact, they compile to class files like any oth...
分类:编程语言   时间:2014-04-27 21:47:05    阅读次数:348
UVA 948 数的斐波那契进制表示
每个正整数都可以分解成斐波那契数列中的几个数相加…… 从大到小贪心法就可以了…… #include #include #include #include #include #include #include #include #include #include #include #include #include #define PI acos(-1.0) #defi...
分类:其他好文   时间:2014-04-27 21:23:04    阅读次数:371
Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!      解决方法: setenforce 0...
分类:移动开发   时间:2014-04-27 21:18:05    阅读次数:450
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!