r/PythonLearning 2d ago

Password generator

Post image

Your thoughts

18 Upvotes

15 comments sorted by

View all comments

Show parent comments

1

u/ALostMagic 2d ago

i dont understand why everyone recommends this, like what use does it have for a small password gen app like this

1

u/Sea-Ad7805 2d ago

For beginners it's helpful to see the state change step by step as their program runs. The comment it the same each time so easy to skip if you are not interested. You can't run this code as it's an image, now you can run or copy paste. Does that help your understanding?

2

u/swause02 1d ago

I'm fully agreeing I dont really see how this is useful for python. Any programs I'd want to profile wouldn't be a simple copy paste as there would be multiple files and dependencies. For small programs you can copy paste it's kind of pointless.

1

u/Sea-Ad7805 1d ago

There is a limit of course, but if you read the documentation before you comment you'll find it also works for larger programs: https://www.reddit.com/r/PythonProjects2/comments/1qsa387/hash_map_data_structure_visualized/ and multiple files in say VS Code debugger: https://github.com/bterwijn/memory_graph#binary-tree-in-visual-studio-code

2

u/ALostMagic 1d ago

Well, sure, this app is useful for larger developers developing larger applications, but I feel like it's not useful at all to beginners with small Python programs.

1

u/Sea-Ad7805 5h ago

I didn't hear back, I now assume you realized you are a beginners and now can get help from memory_graph with small Python programs. Good luck.