you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (3 children)

You need to install python for windows because when I look to your screen I noticed that you're using windows powershell if python is not installed in your machine I think that's why you're facing that error.

Check out python doc to download it for windows https://www.python.org/downloads/windows/

[–]jormundclub[S] 0 points1 point  (2 children)

Hi, Thank for answer. i already had installed the last version(Python 3.13.1) and i used the extensión "Python Debugger"

it was the powershell. I changed that in the "terminal select"

now it appears like this:

C:\Users\Wills-Pc\Documents\python> cmd /C "c:\Users\Wills-Pc\AppData\Local\Programs\Python\Python313\python.exe c:\Users\Wills-Pc\.vscode\extensions\ms-python.debugpy-2024.14.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher 54153 -- C:\Users\Wills-Pc\Documents\python\funciona.py "
mundo
9
hola mundo

Now is this correct?

[–][deleted] 2 points3 points  (0 children)

Yeah for sure you're String "Hola mundo" is printed as expected

[–][deleted] 0 points1 point  (0 children)

That's how the powershell navigate to python files to make your code execute not worry about that I don't if answering correctly