Answer a question

I have some code here

enter image description here

I'm simply trying to run, the code, by clicking the Code Runner extension button in the top right corner. Except, when I click that, the only prompt I receive in the terminal is

/Users/Nick/opt/anaconda3/bin/python /Users/Nick/Desktop/cam_reddish_data.py

With no return output. I am using the correct version as my interpreter. I also recently installed anaconda, and am trying to run from that environment, so maybe that's the issue?

Any thoughts?

Answers

The real reason why

It is because actually that command:

player = player.get_player("Cam", "Reddish", just_id=False)

keeps executing and stops the next lines of code to be excuted, even if you removed that command, hello will be printed in the console. Check if there is any problem in that command

Logo

开发云社区提供前沿行业资讯和优质的学习知识,同时提供优质稳定、价格优惠的云主机、数据库、网络、云储存等云服务产品

更多推荐