I use pajamas to create a web page. I am writing python code that translates to javascript on pajamas. Thus, debugging a software error is detected only when testing a web page. It would be much more efficient if we could first run the code in the Python interpreter before compiling into javascript. This seems to require the installation of pajamas-desktop. I tried to install a pajamas-desktop, but for me it was not a direct task, and I could not install a pajamas-desktop.
I am wondering if there is anyway to run the code to just check for errors, that is, I donβt want the widgets to pop up. But it is simply launched in the interpreter to catch errors, such as the absence of a module used in the program to import.
source share