这就么一段简单的程序,在python自带的IDLE中可以运行,在cmd下用python test.py运行时就提示上面的错误。请问怎么处理?
Python's if name equals main construct provides a standard entry point to run scripts and standalone apps. Python has become a popular programming language due largely to its highly readable syntax ...