Forums

White Screen When Running Python Script in PythonAnywhere Console

Hi Everyone, I’m trying to run a Python script in the PythonAnywhere console, but I just get a white screen no output, no errors. I have tried adding basic print() statements, but still nothing happens.

Here’s a simple test script I tried:

print("Hello, World!") But even this just results in a white screen. I'm using a free account and have not noticed hitting any restrictions so far. Has anyone encountered this before? Any suggestions on how to debug this?

That sounds like your browser is blocking the javascript that starts the console to run your code. Try in a different browser or with extensions disabled.