Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のコードで、返されたタプルの「アドレス」部分を気にしないことを指定する方法はありますか?
(data, address) = socket.recvfrom(512)
理想的には、次のようなことをしたいと思います。
data = socket.recvfrom(512)
ありがとう!
data = socket.recvfrom(512)[0]