python为什么没有报错提示,代码,培训,提示,错误,横线,示例,下面,以上,原因,时候,python中没有报错提示的代码示例:defcount_words(filename):try:withopen(filename)asf_obj:contents=f_obj.read()exceptFileNotFoundError:passelse:words=contents.spilt()num_words=len(words)print("Thisfile"+f...
2023-11-12培训 代码 提示