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.
phpコード
$body = unpack("Lcmd/Lstatus/a*username", $body_string);
この行をPythonコードで置き換えたいです。実行する方法?
struct.error: unpack には長さ 17 の文字列引数が必要です
cnt = unpack('LLs', body_string)