Python论坛  - 讨论区

标题:[python-chinese] Re: unicode用py2exe打包的问题

2004年04月28日 星期三 08:50

glassprogrammer glassprogrammer at 163.com
Wed Apr 28 08:50:44 HKT 2004

An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20040428/b94e8f87/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2004年04月28日 星期三 13:25

Anew Anewboy at citiz.net
Wed Apr 28 13:25:06 HKT 2004


	今天找了一台中文版的2000式了一下,用非unicode的wxpython可以正常使用,unicode版本的wxpython没有测试,但是我很多用户都是用非简体中文版的阿~~~~~~ 5555。。。。。 

======= 2004-04-27 10:11:00 您在来信中写道:=======

>Zoom.Quiet,您好!
>
>	我用的是Win2k advance server 英文版+Sp4, 但好像就是不行。我后来试过用非unicode的wxpython
>但是看上去是很正常的中文字在Copy到剪切板后立刻变成乱码!(但其怪的是贴到IE中是乱码,贴到Total commander 中却一切正常,晕倒.......)
>
>======= 2004-04-26 22:57:00 您在来信中写道:=======
>
>>Hollo CHEN:
>>
>>  win2k 可以的,
>>在下以前就是在win2k 打包的win2k3 还没有试过……
>>
>>
>>/******** [2004-4-26]22:56:48 ; you wrote:
>>
>>C:\>>python setup.py py2exe
>>CHEN Guang (Oliver)> 其余的参数都放在 setup.py 内部了。
>>CHEN Guang (Oliver)> 我没试过 win2000 
>>
>>CHEN Guang (Oliver)>  --- Anew
>>CHEN Guang (Oliver)> <Anewboy at citiz.net> 的正文:> CHEN Guang
>>CHEN Guang (Oliver)> \(Oliver\),您好!
>>>> 
>>>> 
>>>>
>>CHEN Guang (Oliver)> 我所用的系统是win2000,因该是和XP一样也支持unicode的,但是就是不行......
>>>> 	你用py2exe打包的时候用什么参数吗?
>>>> 
>>>> ======= 2004-04-26 14:56:00 您在来信中写道:=======
>>>> 
>>>> >Anew 您好
>>>> >我在 Win98 下运行也出现过类似的问题,后来改在 winXP
>>>> >下运行就好了,XP 下做出来的 EXE 文件拿到 98
>>>> >下也好用的。
>>>> >
>>>> > --- Anew <Anewboy at citiz.net> 的正文:>
>>>> >python-chinese,您好!
>>>> >> 
>>>> >> 
>>>> 我用py2exe打包的时候发生的一个问题。出现以下错误:
>>>> >> 	
>>>> >> 	LookupError: unknown encoding: gb2312
>>>> >> 
>>>> >> 
>>>> >>
>>>>
>>>>但如果不打成exe,直接运行的话没什么问题,但只要打成exe就是会出错!
>>>> >>    
>>>> >>
>>>>
>>>>想得到的办法我都试了,可是就是不行,这是我的setup文件:
>>>> >> 
>>>> >> from distutils.core import setup
>>>> >> import py2exe
>>>> >> 
>>>> >> setup(windows=["MainGuiApp.py"], 
>>>> >>       options = {"py2exe": {"packages":
>>>> >> ['encodings']}}, 
>>>> >> ) 
>>>> >> 
>>>> >> 
>>>> >> 	附: 引起错误的语句: unicode(html.getContent(),
>>>> >> "gb2312")
>>>> >> 
>>>> >>         致
>>>> >> 礼!
>>>> >>  				
>>>> >> 
>>>> >>         Anew
>>>> >>         Anewboy at citiz.net
>>>> >>           2004-04-25
>>>> >> > _______________________________________________
>>>> >> python-chinese list
>>>> >> python-chinese at lists.python.cn
>>>> >> http://python.cn/mailman/listinfo/python-chinese
>>>> >>  
>>>> >
>>>>
>>>>_________________________________________________________
>>>> >Do You Yahoo!? 
>>>> >惠普TT游戏剧,玩游戏,中大奖!
>>>>
>>>>http://cn.rd.yahoo.com/mail_cn/tag/SIG=1402c0to2/**http%3A%2F%2Fhp.allyes.com%2Flaserjet%2Fgamestory%2Findex.html%3Fjumpid%3Dex_hphqapcn_MongooseLJ1010%2F201073CN407016%2FYahoo
>>>> >_______________________________________________
>>>> >python-chinese list
>>>> >python-chinese at lists.python.cn
>>>> >http://python.cn/mailman/listinfo/python-chinese
>>>> >
>>>> 
>>>> = = = = = = = = = = = = = = = = = = = =
>>>> 			
>>>> 
>>>>         致
>>>> 礼!
>>>>  
>>>> 				 
>>>>         Anew
>>>>         Anewboy at citiz.net
>>>>           2004-04-26
>>>> 
>>>> > _______________________________________________
>>>> python-chinese list
>>>> python-chinese at lists.python.cn
>>>> http://python.cn/mailman/listinfo/python-chinese
>>>>  
>>
>>CHEN Guang (Oliver)> _________________________________________________________
>>CHEN Guang (Oliver)> Do You Yahoo!? 
>>CHEN Guang (Oliver)> 惠普TT游戏剧,玩游戏,中大奖!
>>CHEN Guang (Oliver)> http://cn.rd.yahoo.com/mail_cn/tag/SIG=1402c0to2/**http%3A%2F%2Fhp.allyes.com%2Flaserjet%2Fgamestory%2Findex.html%3Fjumpid%3Dex_hphqapcn_MongooseLJ1010%2F201073CN407016%2FYahoo
>>CHEN Guang (Oliver)> _______________________________________________
>>CHEN Guang (Oliver)> python-chinese list
>>CHEN Guang (Oliver)> python-chinese at lists.python.cn
>>CHEN Guang (Oliver)> http://python.cn/mailman/listinfo/python-chinese
>>
>>
>>********************************************/
>>
>>-- 
>>Free as in Freedom
>>
>> Zoom.Quiet                           
>>
>>#=========================================#
>>]Time is unimportant, only life important![
>>#=========================================#
>>
>>sender is the Bat!2.02 CE
>>
>>_______________________________________________
>>python-chinese list
>>python-chinese at lists.python.cn
>>http://python.cn/mailman/listinfo/python-chinese
>>
>
>= = = = = = = = = = = = = = = = = = = =
>			
>
>        致
>礼!
> 
>				 
>        Anew
>        Anewboy at citiz.net
>          2004-04-27
>
>_______________________________________________
>python-chinese list
>python-chinese at lists.python.cn
>http://python.cn/mailman/listinfo/python-chinese

= = = = = = = = = = = = = = = = = = = =
			

        致
礼!
 
				 
        Anew
        Anewboy at citiz.net
          2004-04-27


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2004年04月28日 星期三 13:37

Anew Anewboy at citiz.net
Wed Apr 28 13:37:01 HKT 2004

info,您好!

	问个跟技术没有关系的问题,如何用自己的域名申请msn?? 如: Anew at mydns.com 这种,这个我一直想知道。。。。。。。
	(我知道我很菜.... 但还是请知道的兄台告诉我一声,多谢了)

======= 2004-04-27 11:48:00 您在来信中写道:=======

>python-chinese,您好!
>     各位好,我使用python写的msn机器人已经两个月了,希望大家加它为好友,并多提点宝贵意见。
>     它的msn是:cnrobot at cnrobot.net
>     打搅各位了。
>	
>
>        致
>礼!
> 				
>
>        info
>        info at xichen.com
>          2004-04-27
>_______________________________________________
>python-chinese list
>python-chinese at lists.python.cn
>http://python.cn/mailman/listinfo/python-chinese

= = = = = = = = = = = = = = = = = = = =
			

        致
礼!
 
				 
        Anew
        Anewboy at citiz.net
          2004-04-27


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2024

    京ICP备05028076号