Unable to load the default py file.

Asked 2 years ago, Updated 2 years ago, 15 views

After creating the py file (only print("I'm sold") is written inside the py file I typed a command to execute a file saved as a Python executable

They say they can't even find the file. I've reloaded and turned on the program, but I don't know what the problem is at all

python script

2022-09-21 21:20

2 Answers

If you look at the screenshot, python hun on the Python shell.You are typing py but you need to enter it from the console.

Shell is an area where you can enter and run Python code directly.


2022-09-21 21:20

from the console python hun.py 로 치시거나, 파이썬 쉘에서 import hun으로 하시면 될 것 같습니다.


2022-09-21 21:20

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.