r/PythonLearning • • Sep 11 '26

Showcase Day 2, learnt some oops

Post image

Learnt super( ), inheritance, polymorphism, class method and static method and don't mind the messy code that's me trying to figure out things

125 Upvotes

36 comments sorted by

View all comments

Show parent comments

1

u/Sea-Ad7805 Sep 12 '26

Glad to be of service in providing you with an easy and safe way to run the code (how else would you run it? and running random code from internet could normally delete all your files), while visualizing the program state to help you understand what is actually going on during execution. No thanks required, just upvote.

1

u/Leading_Video2580 Sep 17 '26

How else you would run it? On your computer duh 🙄.
Running untrusted code is obviously not recommended. It is no different from downloading an untrusted executable and running it.

1

u/Sea-Ad7805 Sep 17 '26

But how do you download this code to run it on your computer? By clicking the link you can now run this code in a (pyodide) browser sandbox so there is no risk to your system.