I have just get my hands dirty with VSCode's extension Google Colab (by Google).
While I can connect to google servers for running Jupyter Notebooks (.ipynb files), Is there a way to use VSCode directly on .py files of my project and execute them on Google servers.
Note that I dont want to use the command !python <filename.py> from my notebooks to run the .py files of my project, I want to run them directly with VSCode just like I am able to with Jupyter Notebook.
!python <filename.py>from my notebooks to run the .py files of my project": while there are the rare occasions that can be useful, you primarily should be using%run <filename.py>to run Python script files from inside a running notebook. This magic is more full-featured and offers better handling of the stdout and stderr than sending it off to a temporary shell instance like!pythonwould. The best feature for development is%run -iwhich allows you to run the script attached to the current namespace. See...%runfor more information.