Форум сайта python.su
I would need your help to fix up a problem.
I was trying to run my saved python code file on my laptop through the Edit Plus IDE. I have no problem running python on my CMD (command prompt) or in Python Shell but when i save the code from edit plus to pc and then when i type the ‘py demo.py’ ( for example) in my command prompt, it gives me an errno2 message.
This is the problem i wish to resolve
Прикреплённый файлы: IMG-a8d2f44db0ec02db1770b225aab69d87-V.jpg (229,1 KБ)
Офлайн
Thank you
Офлайн
Search for the directory where demo.py is replaced. To be sure use the “dir” command in the cmd shell. When you find it, go to this directory in the cmd shell and use
python demo.py
cd your_directory
python demo.py
Офлайн
Можете более подробно написать.
Мой путь : C:\Users\wel\Desktop\demo.py.
Что после этого надо сделать?
Офлайн
py.user.nextМожете более подробно написать.
Search for the directory where demo.py is replaced. To be sure use the “dir” command in the cmd shell. When you find it, go to this directory in the cmd shell and use
Офлайн
py.user.nextМожете более подробно написать.
Search for the directory where demo.py is replaced. To be sure use the “dir” command in the cmd shell. When you find it, go to this directory in the cmd shell and use
Офлайн
MynamemyНа картинке ты находишься в директории C:\Users\wel, поэтому тебе надо сделать
Можете более подробно написать.
Мой путь : C:\Users\wel\Desktop\demo.py.
Что после этого надо сделать?
cd Desktop
python demo.py
python C:\Users\wel\Desktop\demo.py
Офлайн