- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 Python Foundation - part three
Metaclasses in Python3>>> class FooBar: pass>>> type(FooBar)<class 'type'>>>> f = FooBar()>>> type(f)<class '__main__.FooBar'>>>> isinstance(foo, Foobar)True>>> isinstance(Foobar, type)
2015-08-19 02:48:29 608
原创 Python Foundation - part two
Some differences between python2.7 and python3print is a function now in python 3do print(a) and print a not workdivision by int can return float>>> 5/2 (python2.7)2while in python3>>> 5/22.5Some wel
2015-08-18 22:56:29 404
原创 Build your first Django site - QA
How to change admin password ?Django provided a built-in admin module, we can change our password from command line:python manage.py changepassword <username>if you even forgot your username, then crea
2015-08-18 11:14:32 809
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人