Discuss / Python / 模块测试求助

模块测试求助

Topic source

我在IDLE中写的。模块文件已经写好,同调用路径。现在我调用时要怎么传参数呢,

>>> test_module.test()
Hello world
>>> test_module.test() 's'
SyntaxError: invalid syntax

  • 1

Reply