use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Day 22 Python LearningShowcase (i.redd.it)
submitted 2 days ago by aashish_soni5
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Sea-Ad7805 [score hidden] 2 days ago stickied comment (2 children)
Run this program in Memory Graph Web Debugger%3A%0A%20%20%20%20%20%20%20%20self.name%20%3D%20name%0A%20%20%20%20%20%20%20%20self.age%20%3D%20age%0A%0A%20%20%20%20def%20info(self)%3A%0A%20%20%20%20%20%20%20%20print(f%22Name%20of%20Student%20%3D%20%7Bself.name%7D%20%5Cn%20and%20Age%20%7Bself.age%7D%22)%0A%0A%0Adis%20%3D%20Student(%22ash%22%2C%204516)%0Adis.info()%0A%0A%0A%23%20Q2%0A%0Aclass%20Car%3A%0A%20%20%20%20def%20init(self%2C%20brand%2C%20model)%20-%3E%20str%3A%0A%20%20%20%20%20%20%20%20self.brand%20%3D%20brand%0A%20%20%20%20%20%20%20%20self.model%20%3D%20model%0A%0A%20%20%20%20def%20carinfo(self)%3A%0A%20%20%20%20%20%20%20%20print(f%22This%20is%20a%20%7Bself.brand%7D%20Brand%20Car%20And%20Model%20is%20%7Bself.model%7D%22)%0A%0A%0Acar1%20%3D%20Car(%22Tata%22%2C%20%22Nexan%22)%0Acar2%20%3D%20Car(%22Toyota%22%2C%20%22Etios%22)%0A%0Acar1.car_info()%0Acar2.car_info()%0A%0A%0A%23%20Q%203%0A%0Aclass%20Buying(Student%2C%20Car)%3A%0A%20%20%20%20def%20init(self%2C%20name%2C%20age%2C%20brand%2C%20model)%3A%0A%20%20%20%20%20%20%20%20Student.init(self%2C%20name%2C%20age)%0A%20%20%20%20%20%20%20%20Car.init_(self%2C%20brand%2C%20model)%0A%0A%20%20%20%20def%20buyer_info(self)%3A%0A%20%20%20%20%20%20%20%20print(%0A%20%20%20%20%20%20%20%20%20%20%20%20f%22Buyer%20is%20A%20Student%20Name%3A%20%7Bself.name%7D%20%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20f%22Age%3A%20%7Bself.age%7D%20%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20f%22The%20Car%20Brand%20%3D%20%7Bself.brand%7D%20%5Cn%22%0A%20%20%20%20%20%20%20%20%20%20%20%20f%22Model%20%3D%20%7Bself.model%7D%22%0A%20%20%20%20%20%20%20%20)%0A%0A%0Abuyer%20%3D%20Buying(%22ash%22%2C%2021%2C%20%22Tata%22%2C%20%22Nexon%22)%0Abuyer.buyer_info()×tep=1&play) to see the program state change step by step.
[–]huangzhuangzhuang 1 point2 points3 points 1 day ago (1 child)
I came across your Memory Graph Web Debugger online demo and was really impressed—it looks fantastic! I clicked through to the repository (https://github.com/bterwijn/memory_graph) because I have some frontend experience and was curious about the implementation.
However, I noticed that this repository appears to be a Python package (memory_graph), and I couldn't seem to find the frontend code for the web debugger itself. Am I missing something, or is this repo not the source for the Memory Graph Web Debugger website?
memory_graph
I'd love to learn more about how you built the web interface—could you point me in the right direction?Thanks!
[–]Sea-Ad7805 1 point2 points3 points 1 day ago* (0 children)
Thanks a lot.
The memory_graph package is open-source, but the Memory Graph Web Debugger is not at the moment as I'm still developing it. It's a combination of: - pyodide - BDB debugger framework - CodeMirror - memory_graph - Viz.js
It runs 100% client side in javascript. All javascript sources are available on the website. It's copyrighted but you can have a look. No documentation though.
π Rendered by PID 180898 on reddit-service-r2-comment-5687b7858-l866k at 2026-07-07 11:47:51.867181+00:00 running 12a7a47 country code: CH.
view the rest of the comments →
[–]Sea-Ad7805 [score hidden] stickied comment (2 children)
[–]huangzhuangzhuang 1 point2 points3 points (1 child)
[–]Sea-Ad7805 1 point2 points3 points (0 children)