PyWeb

PyWeb is an online, browser-based Python interpreter that can run and deploy your code! PyWeb is a website for beginners in Python, and requires access to GitHub to deploy your PyWeb app.


DISCLAIMER: Do not run untrusted deployments, as we are not liable for any damages.


Here are some nice tips:

 

Using the “input()” function will not work, but you can use the Javascript library like this:


from js import prompt


name = prompt("What's your name?")

print(f"Hello, {name}!")

 

For outputs, you can use the “print()” function, or you can use the Javascript library like this:


import js

js.alert("Hello from PyWeb!”)


You don’t really have to download packages or libraries; they’re already built-in!


Thank you for using PyWeb!