python> "I don't understand the meaning of", = "> (Solution) One Element Tuples: You answered the comment

I need to understand the code written in python, and today (2015-03-25) I am studying python for the first time.

In that code

field_len, = unpack(">H", fin.read(2))

However, the meaning of "," before = is not found by google search.

I would like somebody to teach.


(Addition 150325) I learned from shiena and ssh0. Thank you.

Recommended Posts

python> "I don't understand the meaning of", = "> (Solution) One Element Tuples: You answered the comment
[Python3] Understand the basics of Beautiful Soup
[Python] Understand the content of error messages
I didn't know the basics of Python
[Python3] Understand the basics of file operations
[Feature-length poem] I don't understand functional languages Even if you understand Python: Part 2 The functions that generate functions are amazing.
Try the free version of Progate [Python I]
Find the solution of the nth-order equation in python
[Mathematics] If you understand the meaning of "inner product" graphically, you can see various things.
I checked out the versions of Blender and Python
I want to fully understand the basics of Bokeh
14 quizzes to understand the surprisingly confusing scope of Python
Understand the status of data loss --Python vs. R
How much do you know the basics of Python?
I tried to summarize the string operations of Python