4 ответов
+ 3
also
when you installed python on windows you may have also installed the idle editor.
from idle you can run directly some python simple commands.
you can also run a separate python script using the menu : file > open > yourfile.py
and then from the module window: run >run module
+ 1
if you want to run it from the console as James suggests, you need to add the pyton bin folder to the path.
0
I've tried typing that in the Windows cmd but it says I can't open the file since there's no such file or directory? I'll try working on that more, James. But thank you!
But it does work when I run it as a separate python script, ifl. Thank you!
0
To the windows path? Does the bin folder come with python?