欢迎看看这个无聊的我的博客,可能真的很无聊的
5月
19
这种错误: Unable to invoke Code Completion due to errors in source code , 其实以前都时常遇到的,没有太过在意,只是不能用delphi的提示吧了,即你写edit1按下点之后不能出现提示属性,今天才正式去面对这个问题,用大富翁的chm手册查询 , 结果就是编程时,可能不经意的用了些非法字符,只要把整个pas里的文件复制到记事本里,查找非法字符去掉就可以了,原来是这种低级错误,以后要注意点才行,不过用了delphi这么久才去处理这问题,我都算懒了,哈哈...
3月
3
昨天晚上在window用py2exe编译python写的程序,由于第一次用,好多不解,当编译出现The following modules appear to be missing错误时,就唔知怎样处理了, 以下为错误信息:
The following modules appear to be missing
['DateTime', '_ssl', 'chardet', 'chardet.constants', 'cjkcodecs.aliases', 'iconv_codec', 'mx.DateTime', 'mx.Tidy', 'tidy']
在网上google后,才知道要在配置文件动手脚,以下我的配置文件
# setup.py
from distutils.core import setup
setup(console=["getrssgb.py"],
options = {'py2exe': {'excludes': ['DateTime','_ssl','chardet', 'chardet.constants', 'cjkcodecs.aliases', 'iconv_codec', 'mx.DateTime', 'mx.Tidy', 'tidy']}}
)
这样编译就没问题了.
The following modules appear to be missing
['DateTime', '_ssl', 'chardet', 'chardet.constants', 'cjkcodecs.aliases', 'iconv_codec', 'mx.DateTime', 'mx.Tidy', 'tidy']
在网上google后,才知道要在配置文件动手脚,以下我的配置文件
# setup.py
from distutils.core import setup
setup(console=["getrssgb.py"],
options = {'py2exe': {'excludes': ['DateTime','_ssl','chardet', 'chardet.constants', 'cjkcodecs.aliases', 'iconv_codec', 'mx.DateTime', 'mx.Tidy', 'tidy']}}
)
这样编译就没问题了.




