Hi Joseluis_499 Greetings! Thank you for posting on Microsoft Community. I will be happy to help. I am a user just like you and only trying to advice/ assist in the best possible way to resolve your issue.
Unfortunately, it seems you've hit one of the limitations of Visual Studio Code in its web version (https://vscode.dev). VScode is a fantastic tool for working with various web development technologies but, it doesn't directly support running and debugging Python code in the browser. Here's a breakdown of your options and considerations:
Why Running Python is Tricky in the Browser: Environment: Browsers aren't natively designed to run Python code. They require some extra workarounds. Security: Allowing the web browser to execute arbitrary code introduces potential security risks. Performance: The browser environment wouldn't generally provide the same level of performance for Python development as a dedicated desktop environment.
Other Cloud-Based Jupyter Notebook Environments: Kaggle Kernels: Similar to Colaboratory, tailored for data science and machine learning. Binder: Lets you use custom online repositories on your OneDrive as the basis for notebook environments. (https://mybinder.org/) NB. Disclaimer: This is a non-Microsoft website or app. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
Azure Notebooks: Microsoft's alternative with integration into their Azure ecosystem.
Remote Development with VS Code Best of Both Worlds: A possible, yet slightly more complex, solution requires you to have a computer set up as a server. Students can then connect to it using the "Remote SSH" or "Remote Containers" extension in the web version of VS Code. This would let them run and debug Python code on the remote server through a browser-based interface. However, setting this up needs technical know-how on your part.
Hope this helps and answer your question. Let me know if you need further clarification or assistance. Give back to the Community. Help the next person who has this issue by indicating if this reply solved your problem. Click Yes or No below. Kind Regards -Adedayo