python> tuple> data, address = s.recvfrom (10000)

SO Code in

read_nb.py


    try:
        data,address = s.recvfrom(10000)

I didn't understand how to write data, address =.


http://docs.python.jp/2.6/library/socket.html

socket.recvfrom(bufsize[, flags]) Receives data from the socket and returns the result as a tuple (string, address).

Is this a tuple? I understand that in the case of substitution, it is written as above.

Recommended Posts

python> tuple> data, address = s.recvfrom (10000)
Python dummy data generation (address edition)
Python> tuple> tuple unpacking
[python] Read data
Data analysis with python 2
Python Data Visualization Libraries
Data analysis using Python 0
Data analysis overview python
Data cleaning using Python
Python data analysis template
[Python tutorial] Data structure
[Python] Sorting Numpy data
[Python] Chapter 04-05 Various data structures (tuple creation and features)
Sample data created with python
My python data analysis container
Handle Ambient data in Python
data structure python push pop
Python for Data Analysis Chapter 4
Story when iterating python tuple
Display UTM-30LX data in Python
Get Youtube data with python
[Python] Insert ":" in MAC address
Data Science Cheat Sheet (Python)
[Python] Notes on data analysis
My python data analytics environment
Python application: data visualization # 2: matplotlib
Python data type summary memo
[Python] Plot time series data
Python for Data Analysis Chapter 2
Image data type conversion [Python]
Data analysis using python pandas
Python for Data Analysis Chapter 3
Read json data with python
[Python] Tuple version of prefecture pull-down
Get Leap Motion data in Python.
Python tuple comprehensions and generator expressions
[Python] How to FFT mp3 data
Python: Exclude tags from html data
Python Application: Data Cleansing Part 1: Python Notation
Read Protocol Buffers data in Python3
Hit treasure data from Python Pandas
Python: Time Series Analysis: Preprocessing Time Series Data
Get data from Quandl in Python
Python Application: Data Handling Part 3: Data Format
Experiment data fitting (Python) being added ...
Handle NetCDF format data in Python
Python course for data science_useful techniques
[Python] Get economic data with DataReader
Python data structures learned with chemoinformatics
Hashing data in R and Python
Preprocessing template for data analysis (Python)
Hash method (open address method) in Python
Data formatting for Python / color plots
Picture book data structure algorithm Python
Easy data visualization with Python seaborn.
Process Pubmed .xml data with python
Data analysis starting with python (data visualization 1)
[Python scipy] Upscale / downscale 2D data
Python> tuple> Convert double tuple to single tuple
Data analysis starting with python (data visualization 2)
Python application: Data cleansing # 2: Data cleansing with DataFrame