Boringlamb's cnblog - Just like a Taurus!

Yesterday is History. Tomorrow is a Mystery, and Today is a gift. That's why we call it the Present.

导航

随笔分类 -  Python

resPickle 的应用,自己写了一个demo
摘要:这个demo演示了将图片资源集成到py文件中,这样只需要一个py文件而不需要带图片文件了,just for fun! 截图如下: 下载 ironpython 1.1 然后配制好环境参数,之后ipy PickelForm.py 就可以看到效果了,:) PickelForm.py下载:/Files/boringlamb/PickleForm.rar 阅读全文

posted @ 2007-11-09 16:40 Boringlamb 阅读(264) 评论(0) 推荐(0)

对 resPickle 的改进
摘要:resPickle容易出现编码问题,所以进行了修正 1from System import Convert 2from System.IO import MemoryStream 3from System.Runtime.Serialization.Formatters.Binary import BinaryFormatter 4import copy_reg 5 6_formatt... 阅读全文

posted @ 2007-11-08 10:34 Boringlamb 阅读(231) 评论(0) 推荐(0)

resPickle.py - 终于做出来了
摘要:1# This module provides a registry that you can use to register your own extension types so 2# you can serialization and de-serialization them in Python object structure. 3# Copyright (c) 2007 Bor... 阅读全文

posted @ 2007-09-30 11:41 Boringlamb 阅读(528) 评论(1) 推荐(0)