It happens regularly that the python code i am writing simply doesn't run. I try to stop and nothing happens. I refresh the page i get the same problem. Few hours later i try and everything runs smoothly.
I really would like to use Repl but i am having so many headheache that i am tempted to find another solution :(
My code isn't running period. Even after refreshing and waiting hours, my python code is just not running. I am able to stop it, but when I run it, nothing happens. Even when I simply do print('Hello World'), it doesn't print it.
I found this to happen sometimes too. An easy fix is to just close your browser and reopen it, and use CTRL+SHIFT+T to open your old pages again - seems to work. Hope this helped.
It's usually quite good. Just today maybe they're overloaded, as I experienced compiler loading and execution problems. I know locally for me east coast USA, there is currently a hurricane/flash flood, etc., maybe related.
i am located in EU so i don't think that is the problem @icy_1.
Maybe i am doing something wrong. To run a code i should simply select a file and ctrl+enter? is only the "main" file played?
These are probably stupid questions but are there some tutorials where i could get a better feeling of how to use repl?
@icy_1 Thanks! It was indeed something beyond our control. It was Google Cloud being down https://www.independent.co.uk/life-style/gadgets-and-tech/news/snapchat-spotify-down-google-cloud-discord-problems-not-working-a8452026.html
@GabrieleRomagno since it ran for you a few hours later, that's why I suspect the server experienced overload.
For python I think typically you define a main function and add a bit of protection against automatic running if imported as a module.
(I give up trying to write comments in code... i tried <pre> <code> [code]... )
If you had both the files as in example, the main() function would run.