StupidBeauty
Read times:537Posted at:Mon Feb 4 02:18:47 2013
- no title specified

转载 如何判断一个值是否为null值

Python中是以关键字None来表示某个对象为空值的。

http://bbs.chinaunix.net/thread-1053385-1-1.html

亮点

python中没有null,有一个是None。如果只是判断为假,则可以

if not a:

如果是要判断是否为None,则:

if a is None:

播放器设计教程

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands