Python glossary on images

Is there any website, that would explain Python’s glossary and syntax on images? Like for example, if you have a sample of the code and someone draws into it, what is a value, class, etc.?

“Someone draws on it” - I’m sorry but I have no idea what you mean by that. Have you read The Python Tutorial — Python 3.11.5 documentation? That explains, succinctly, what the main concepts are.
Alternatively, there are also tons of tutorials and books available.
Alternatively, for general questions, ChatGPT 3.5 (the free version) also does a very good job of answering them (until you get into nitty-gritty details). For instance if you ask ChatGPT the question “What is a value in Python”, it will give a correct answer (I won’t quote it here, because it’s too long and you can easily repeat the experiment).

If you are especially interested in image processing, I believe that PIL is a popular framework:

What I mean can be seen in this video. Just highlight the structures.

About the other resources I know and I am using them.

1 Like

Here I should add, that even I like materials like the one you linked above The Python Tutorial, I may have a difficulties in understanding as English is my second language.

I also did not understand your question. I think the phrase “draws into it” is not what you meant, but I’m not sure what you do mean to say.
I’m sure someone here can help, but we need to clarify the question.

Are you looking for an interactive version of the kinds of introduction in the video you linked? One where you could point, with your cursor, at parts of a file to see an explanation?
I’m not aware of resources like that.


On a separate note, I respectfully disagree with the suggestion to use chatgpt to learn. Although it is mostly correct for simple questions, generative AI has a bad habit of making things up.

I believe that you are better served asking for help on forums like this one and Stack Overflow. There are plenty of people who can and are happy to help. Although they may sometimes make mistakes – like chatgpt – other people can easily correct these errors because the question and answer are public.

1 Like

Nope. Maybe you don’t understand me, because it doesn’t exist at all. I don’t know either if it exists. Maybe the syntax could be explained well-using diagrams. I am not looking for a specific resource, but just a general approach that uses drawings rather than text.

Well, I am using chatGPT (combining 3.5 and version 4), but I don’t rely on it and I am trying to verify them.

Stack Overflow? Bah! I was already blocked there for these kinds of questions. In fact, I came here because of an answer on their Meta’s Stack Exchange to the question (“Which computer science / programming Stack Exchange sites do I post on?”), from which I quote “Questions…about low-level language syntax are a poor fit for this site…such questions should be asked on language-/package-specific forums.”

I think this is enough for me to understand.
To rephrase, you are looking for a “visual guide” or “illustrated introduction” which covers the syntax and terms from the glossary.
I don’t know of anything like this either, unfortunately.

There is an Illustrated Guide to Python book which gets decent reviews, but I’ve never read it and cannot vouch for it.

That’s a good approach. I recommend against chatgpt for users who don’t understand that it can tell lies. As long as you are trying to check and verify its answers, you’ll probably be fine.


SO is a very good resource for the right kind of question. I hope you were not blocked, but only had a question or two taken down. Between that community and this one, you should be able to get answers.
But yes, this is the place to ask about Python terms and ideas. SO is for understanding a code sample.

e.g., I see your other thread asking about the definition of “method”, which looks to me like it’s getting good feedback. One respondent confused functions and methods, but others are giving you answers which stick more closely to the Python definition of the term. That thread is appropriate to this forum, not SO.

This is interesting. I don’t know anything like that either, and don’t know – off the top of my head – how you could set up such an explanation. I browsed around a little, and found “Learn Python Visually” - but that seems to focus more on starting to write Python code in order to visualize things, so may not be what you’re looking for. Your post also reminded me of the Lego Robotics language - which is a purely pictorial language using visual blocks to write programs, but that’s also not what you’re after :slight_smile: (It’s a pretty interesting language – I believe it has “natural” support for real concurrency and parallel programming. You won’t find that in most programming tutorials…)

FWIW - my suggestion would be not not pay too much attention to technical terms. Don’t pay too much attention to definitions at this point. – What is a “class”? Who cares - It’s just something that starts with the word “class” and has stuff “in” it. Yes, they’re usually called “methods”, but again that’s not really relevant at this point. Just go through the exercises, and see if you can do something with that for yourself…

1 Like

There is an old idea called “railroad diagrams” that attempts to do so. This post might be interesting:

Searching for that terms also finds other resources like this PDF from here.

2 Likes