SyntaxError: Missing parentheses in call to 'print'解决

这个错误的原因是python2和3两个版本在print的用法上不同!

举例如下:

在python2.X中,使用print my_data.shape

在python3.X中,使用print(my_data.shape)

猜你喜欢

转载自blog.csdn.net/qq_35559420/article/details/63684803
今日推荐