阅读背景:

python 3.3:结构体。包不会接受字符串

来源:互联网 

I'm trying to use struct.pack to write a padded string to a file but it seems with the 3.x interpreters this doesn't work anymore. An example of how I'm using it:I'm trying to use struct.pack to write a padded




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: