摘要:
1. A Python file is called a module/package. A Python module can be run directly, or it can be imported and used by some other modules.2. When a Python file is run directly, the special variable "__name__" is set to "__main__". Therefore, it's common to have the boilerplate i 阅读全文
posted @ 2013-04-12 16:44 Jason Koo 阅读(218) 评论(0) 推荐(0) 编辑