- 博客(5)
- 资源 (1)
- 收藏
- 关注
转载 查看ubuntu版本号
http://blog.sina.com.cn/s/blog_8a94d82b0101igfh.html 1.查看ubuntu版本号: 方法一: cat /etc/issue 返回结果: Ubuntu 6.06.2 LTS \n \l 方法二: sudo lsb_release -a 返回结果: No LSB modules are
2013-05-27 09:06:27 2256
转载 ubuntu上PostgreSQL的安装
http://www.postgresql.org/download/linux/ubuntu/ PostgreSQL Apt Repository If the version included in your version of Ubuntu is not the one you want,you can use the PostgreSQL Apt Repository. Th
2013-05-24 16:02:12 2521
转载 Python中的getattr()函数详解
最近看Dive into python第四章自省中提到getattr()函数,作为一个内建函数平时自己没怎么用过所以也不太理解这个函数的一些用法 看了下函数本身的doc getattr(object, name[, default]) -> value Get a named attribute from an object; getattr(x, 'y') is equival
2013-05-16 17:29:48 2860
转载 python socket bind机器上所有ip的方法
原文:http://blog.csdn.net/powerccna/article/details/7760059 python socket bind 可以指定IP, 但如果socket.bind(("192.168.22.112",8099)), 这样的话,127.0.0.1:8099, 或者localhost:8099都无法访问, bash-3.2# telnet 127.0.0
2013-05-07 09:48:40 3467
翻译 django 1.5的新特性
Django 1.5最大的新功能是可配置的用户模式。 Django的1.5之前,应用程序如果想要使用Django的认证框架(django.contrib.auth)就必须使用Django的“User”类。在Django 1.5中,您可以使用自己写的User模型。这可能是一个现有的用户模型简单的扩展,例如,你可以添加一个Twitter或Facebook ID字段,或者你可以完全取代一个完全
2013-05-01 21:27:35 3516
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人