Any free, or cheap, online compilers for Python and Java?
Why does this input not work in Jdoodle? (EOF in line error)
Videos
I'm trying to make an online editor and compiler for my students to run code on. Yes, there are some out there but they don't fit my needs.
I've been able to use OneCompiler's API through RapidAPI but it costs a bit too much. Is there an open source compiler I can run on a server and connect to? I've tried use Codex-API but can't get the darn thing to work. It needs me to setup a docker container and such but I get errors. Not sure if it's a me thing or not so I'm looking for guidance from y'all with other possible solutions that I might be missing. Thanks.
Edit: solved! Jdoodle needs the "interactive mode" switch turned on for input functions to work.
name = input("Enter your name: ")
print(f"Hello, {name}!")Running this in jdoodle.com in Python3, it gives "EOFError: EOF when reading a line", but looking at the documentation here, it looks like I'm doing it correctly. What am I doing wrong?