2013-03-26から1日間の記事一覧
これを見ていただきたい。 #!/src/env/bin python from ctypes import * class BBeer_recipe(Structure): _fields_ = [ ('amt_barley',c_int), ('amt_water',c_int), ] Beer_recipe = type('Beer_recipe',(Structure,), {'_fields_':[ ("amt_barley",c_int),…