Python论坛  - 讨论区

标题:[python-chinese] 初学者的小问题

2004年09月24日 星期五 22:37

macegirl macegirl macegirl at gmail.com
Fri Sep 24 22:37:20 HKT 2004

您好:
    我是python的初学者。
    现在有一个问题不明白。
    我通过python获得老师发给我的一封email。email中有一个gif文件。要求用mime parse
解码。对此我非常困惑,查了相关的参考书都是写如何发送这个文件的,而对如何解码文件没有解释。
    我也知道这个问题很幼稚,但是我真的不懂而且也没有找到相关资料。关于这个问题的具体文件我放在附件中。麻烦老师了!


-- 
Nancy
Email:zjpsummer at yahoo.com.cn
            macegirl at gmail.com
Msn: zjpsummer at hotmail.com
QQ: 20580996
-------------- next part --------------
>>> import socket
>>> HOST = "python.cti.dtu.dk"
>>> PORT = 34531
>>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>>> s.connect((HOST, PORT))
>>> s.send('s041440')
7
>>> data = s.recv(50000)
>>> print data
Content-Type: multipart/mixed;
    boundary="192.38.86.143.1.776.1095767182.304.1"
From: Jakob Larsen <s992523 at student.dtu.dk>
To: Students in course 34531
Subject: Your assignment in course 34531
Date: 22-09-2004 12:00

This is a MIME-encoded message, with attachments. 

If you are seeing this message your mail program 
probably cannot show you the attachments.

Jakob Larsen

--192.38.86.143.1.776.1095767182.304.1
Content-Type: text/plain

Hello students in course 34531! 

This is the MIME-encoded message that you must parse
in your Python program as part of your assignment
in this course.

The MIME message contains an encoded GIF image that
you must decode as the image contains the instructions
for handing in your Python program once it is done.

Thank you
Jakob Larsen


--192.38.86.143.1.776.1095767182.304.1
Content-Type: image/gif;
    Name="assignment.gif"
Content-Transfer-Encoding: base64

R0lGODlhKAEjAfcAAAAAAAAAQgAAxgBCAADnAAD/ACEAQiEAhCEhQiFCACGlACHGACHnACHnQkIh
AEKEAEKEQkKlAEKlQkLGAELnAELnQmMhAGNjAGNjQmOEAGOEQmOlAGPGAGPGQmPnAGPnQoRCAIRj
AISEAISEQoSlAISlQoSlhITGAITGQqUhAKUhQqVCAKWEAKWEQqWlAKWlQsYhAMYhQsZCAMbexuch
AOdCAOfnQufnhP8AAP//9///////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////ywAAAAAKAEjAQAI/gB1CBxI
sKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDihxJsqTJkyhTqlzJsqXLlzBjypxJs6bN
mzhz6iSZI4eOnj4zAhhqcqhRogqROlSaFCSAhE8XRt0YdepDqzsFDs1hVCjUi1iramWIlWxLpjqq
lh2J1mzWgwBGYACgYcQIAD0trh2rF+FeuBH/lgw7ULDTwG8NHjUqQkTUvBLVptWKtPLTrlMtrw2b
ufLktJcLK1Xb+Shl0WVHgyZI1GrXyUxVwy6ounZmvqA7Uxa7u/Bq1CsB3LghfDgAx5AhXxX9mbfk
1aGb+2U91nn01p+l33auHTffy56b/hM+LR02+PHnq4cH/729eNzpyxvmCDStDQfCHSAAkOFp3qAQ
3SbfawKex5tirGFGm3vRdVdde6a11Vt2B45H4W7cKRZeefJ5N2GBvl34G0pBAWDDASYaIEAAjv0k
EIDLMeghiBYuGOKMMtIYYm0a2lghfDaKiB6CHP7YIXVFAikieSmZSJwNM8xwnIQxHpmhgwcGiaWM
s0HoG2FiZXnkgK51aaWHA36X4ZpeGglidicddddQI4gwJ5VJtabnb5rlBp1utMUGKGYRxkdoaX72
qeFifkIXaKKWYdhWhCOylxuBrhHaKKbpvRYnABjYVeeojV0QVwYabAVjYiIJyOp0/lq+SlFcGmTQ
2K2NuXDrcXbepZysH7kKLJLEDgtRDgnYheuyJGywwQWOhdCYr6saq5Gn1jY6YbYNcXWXrbw2loEH
FFRAAAMRxDUtXty26y5OBlxgq50ZQJvBBAQ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H22C7m8
Pv0pK/ud2U1jJMufJ5nN1Q2pHDOR7a3HKKnSJknH79KGv/3aYQvKqKd2blfg+pm9rUy2ze2pkkuP
bUW65LmzFTvfHG2V89vCrT2tiTfKo4ygnx1/zaxCMGzCbr3YzVfaicG1n9vJjRjYHrSY0RhfT4tl
rvzMrC3AkBvZKn7fz8tqBJrZA2Ta7jrOCf6oif2383rkjevYPB4j28fJr0yvyoxZtr2kurfY5eqt
9IyaNXnBVN6Mf/nRYEt8cHilovlGjaxuAna68InLC9vQ/haPE4zh6/elB2uqoilzCmXfEzDX5C0d
kC7n3dEU3oJe3iwVEAAAOw==

--192.38.86.143.1.776.1095767182.304.1--

>>> 

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

2004年09月24日 星期五 22:47

limodou limodou at gmail.com
Fri Sep 24 22:47:59 HKT 2004

我也没做过,但可以看一看python模块中关于email的相关内容。


On Fri, 24 Sep 2004 07:37:20 -0700, macegirl macegirl
<macegirl at gmail.com> wrote:
> 您好:
>    我是python的初学者。
>    现在有一个问题不明白。
>    我通过python获得老师发给我的一封email。email中有一个gif文件。要求用mime parse
> 解码。对此我非常困惑,查了相关的参考书都是写如何发送这个文件的,而对如何解码文件没有解释。
>    我也知道这个问题很幼稚,但是我真的不懂而且也没有找到相关资料。关于这个问题的具体文件我放在附件中。麻烦老师了!
> 
> 
> --
> Nancy
> Email:zjpsummer at yahoo.com.cn
>            macegirl at gmail.com
> Msn: zjpsummer at hotmail.com
> QQ: 20580996
> 
> 
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 
> 
> 
> 
> 



-- 
I like python!

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

2004年09月24日 星期五 23:45

GreyRoar GreyRoar at tom.com
Fri Sep 24 23:45:55 HKT 2004

, 您好!

	

************下面是转发邮件************
原邮件发件人名字: GreyRoar
原邮件发件人地址:GreyRoar at tom.com

>macegirl macegirl,您好!
>
>	mimetools.decode(filein,fileout,type)
>
>======= 2004-09-24 07:37:00 您在来信中写道:=======
>
>>您好:
>>    我是python的初学者。
>>    现在有一个问题不明白。
>>    我通过python获得老师发给我的一封email。email中有一个gif文件。要求用mime parse
>>解码。对此我非常困惑,查了相关的参考书都是写如何发送这个文件的,而对如何解码文件没有解释。
>>    我也知道这个问题很幼稚,但是我真的不懂而且也没有找到相关资料。关于这个问题的具体文件我放在附件中。麻烦老师了!
>>
>>
>>-- 
>>Nancy
>>Email:zjpsummer at yahoo.com.cn
>>            macegirl at gmail.com
>>Msn: zjpsummer at hotmail.com
>>QQ: 20580996
>>_______________________________________________
>>python-chinese list
>>python-chinese at lists.python.cn
>>http://python.cn/mailman/listinfo/python-chinese
>
>= = = = = = = = = = = = = = = = = = = =
>			
>
>        致
>礼!
> 
>				 
>        GreyRoar
>        GreyRoar at tom.com
>          2004-09-24

= = = = = = = = = = = = = = = = = = = = 
  
        致
礼!

  
        GreyRoar
        GreyRoar at tom.com
          2004-09-24 





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

2004年09月25日 星期六 08:10

0.706 0.706 at 163.com
Sat Sep 25 08:10:53 HKT 2004

xl g,您好! 

  在文件第一行或第二行写上
# -*- encoding=p936 -*-

就可以直接用u'你好Python'了.


======== 2004-09-24 17:19:04 您在来信中写道: ========

多谢,这样确实能解决问题,还有没有简便一些的办法,比如只需要在脚本开头声明一个预处理语句或者其它什么东西,然后就可以一劳永逸的显示中文编码,而不用每次都unicode()。

limodou <limodou at gmail.com> wrote: 
u'你好Python!'改为unicode('你好Python', 'cp936')
并且使用wxPython 的unicode版本。


On Fri, 24 Sep 2004 10:55:31 +0800 (CST), xl g wrote:
> 昨天刚刚接触wxPython,问个简单的问题,如何在界面中显示中文?如下面的代码:
> class MyApp(wxApp):
> def OnInit(self):
> frame = wxFrame(NULL, -1, u'你好Python!')
> frame.Show(true)
> self.SetTopWindow(frame)
> return true
> 
> 标题中显示的是乱码,不知该如何让它显示正确的中文?请指教!
> 
> gxl 敬上
> 
> _________________________________________________________
> Do You Yahoo!?
> 150万曲MP3疯狂搜,带您闯入音乐殿堂
> http://music.yisou.com/
> 美女明星应有尽有,搜遍美图、艳图和酷图
> http://image.yisou.com
> 1G就是1000兆,雅虎电邮自助扩容!
> http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 



-- 
I like python!
_______________________________________________
python-chinese list
python-chinese at lists.python.cn
http://python.cn/mailman/listinfo/python-chinese





Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容! 

= = = = = = = = = = = = = = = = = = = = = = 
        致
礼!

              0.706
              0.706 at 163.com
               2004-09-25
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20040925/c60a2702/attachment.htm

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

2004年09月25日 星期六 08:12

0.706 0.706 at 163.com
Sat Sep 25 08:12:29 HKT 2004

0.706,您好! 

  错了,是cp936

======== 2004-09-25 08:10:53 您在来信中写道: ========

xl g,您好! 

  在文件第一行或第二行写上
# -*- encoding=p936 -*-

就可以直接用u'你好Python'了.


======== 2004-09-24 17:19:04 您在来信中写道: ========

多谢,这样确实能解决问题,还有没有简便一些的办法,比如只需要在脚本开头声明一个预处理语句或者其它什么东西,然后就可以一劳永逸的显示中文编码,而不用每次都unicode()。

limodou <limodou at gmail.com> wrote: 
u'你好Python!'改为unicode('你好Python', 'cp936')
并且使用wxPython 的unicode版本。


On Fri, 24 Sep 2004 10:55:31 +0800 (CST), xl g wrote:
> 昨天刚刚接触wxPython,问个简单的问题,如何在界面中显示中文?如下面的代码:
> class MyApp(wxApp):
> def OnInit(self):
> frame = wxFrame(NULL, -1, u'你好Python!')
> frame.Show(true)
> self.SetTopWindow(frame)
> return true
> 
> 标题中显示的是乱码,不知该如何让它显示正确的中文?请指教!
> 
> gxl 敬上
> 
> _________________________________________________________
> Do You Yahoo!?
> 150万曲MP3疯狂搜,带您闯入音乐殿堂
> http://music.yisou.com/
> 美女明星应有尽有,搜遍美图、艳图和酷图
> http://image.yisou.com
> 1G就是1000兆,雅虎电邮自助扩容!
> http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 



-- 
I like python!
_______________________________________________
python-chinese list
python-chinese at lists.python.cn
http://python.cn/mailman/listinfo/python-chinese





Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容! 

= = = = = = = = = = = = = = = = = = = = = = 
        致
礼!

              0.706
              0.706 at 163.com
               2004-09-25


= = = = = = = = = = = = = = = = = = = = = = 
        致
礼!

              0.706
              0.706 at 163.com
               2004-09-25
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20040925/3406af4d/attachment.html

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

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

    你的回复:

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

    Zeuux © 2025

    京ICP备05028076号