2004年08月31日 星期二 16:03
使用libgmail,协议的问题已经解决了 得重点解决一下编码问题 不过mail的内容都是mime,不知有没有现成的东东 On Tue, 31 Aug 2004 15:11:28 +0800, limodou <chatme at 263.net> wrote: > lihui,您好! > > 有乱码我看是因为utf-8编码造成了。看原始文件,有的连subject都是utf-8编码的,在命令行下自然就乱了。 > > > > ======= 2004-08-31 14:36:03 您在来信中写道:======= > > >有的 > > > >http://libgmail.sourceforge.net/ > > > >有例子,如下 > >import libgmail > > > >ga = libgmail.GmailAccount("google at gmail.com", "mymailismypass") > >ga.login() > >folder = ga.getMessagesByFolder('inbox') > > > >for thread in folder: > > print thread.id, len(thread), thread.subject > > for msg in thread: > > print " ", msg.id, msg.number, msg.subject > > print msg.source > > > > > > > >On Tue, 31 Aug 2004 14:33:32 +0800, limodou <chatme at 263.net> wrote: > >> lihui,您好! > >> > >> 这就叫收下来了?只有标题呀。内容在哪里呀 > >> 我使用archieve至少还有个文件生成。内容怎么看呀 > >> > >> ======= 2004-08-31 14:25:45 您在来信中写道:======= > >> > >> >可以的,就是直接运行libgmail.py > >> > > >> >或者使用例子,见下面的运行情况 > >> > > >> >只是汉字处理有问题,limodou老大帮解决一下, > >> > > >> > > >> >[root at localhost libgmail-0.0.8]# python libgmail.py > >> >Gmail account name: lihuimail > >> >Password: > >> > > >> >Please wait, logging in... > >> >Login successful. > >> > > >> >WARNING:root:Live Javascript and constants file versions differ. > >> >0 MB of 1000 MB used. (0%) > >> > > >> >Select folder or label to list: (Ctrl-C to exit) > >> > 0. inbox > >> > 1. starred > >> > 2. all > >> > 3. drafts > >> > 4. sent > >> > 5. spam > >> > 6. ftp > >> > 7. gmail > >> > 8. other > >> > 9. private > >> > 10. tkf > >> > 11. work > >> > 12. zlistpython > >> > 13. zlistpythxx > >> > 14. zlistzope > >> >Choice: 11 > >> > > >> > > >> >feb37eb7fce9d7d 1 20040630tj > >> > feb37eb7fce9d7d 1 20040630tj > >> > > >> >feae561722b462c 1 杞彂: 2003骞翠腑淇濆姙缁熻 > >> > feae561722b462c 1 杞彂: 2003骞翠腑淇濆姙缁熻 > >> > > >> >Select folder or label to list: (Ctrl-C to exit) > >> > 0. inbox > >> > 1. starred > >> > 2. all > >> > 3. drafts > >> > 4. sent > >> > 5. spam > >> > 6. ftp > >> > 7. gmail > >> > 8. other > >> > 9. private > >> > 10. tkf > >> > 11. work > >> > 12. zlistpython > >> > 13. zlistpythxx > >> > 14. zlistzope > >> >Choice: > >> > > >> > > >> > > >> > > >> >On Tue, 31 Aug 2004 14:18:02 +0800, limodou <chatme at 263.net> wrote: > >> >> dreamingk(天成),您好! > >> >> > >> >> popd我也没试成功。 smtpd没试,如果可以,一般的邮箱不就可以收、发信了吗。 > >> >> > >> >> ======= 2004-08-31 14:06:17 您在来信中写道:======= > >> >> > >> >> > >> >> > >> >> >limodou,您好! > >> >> > > >> >> > ftp服务器试用一下,可以登陆,但是上传也没成功不知道 怎么回事!不过这个想法还是不错的! > >> >> > > >> >> >======= 2004-08-31 13:50:43 您在来信中写道:======= > >> >> > > >> >> >>dreamingk(天成),您好! > >> >> >> > >> >> >> 呵呵。可以考虑。 > >> >> >> > >> >> >>======= 2004-08-31 13:38:06 您在来信中写道:======= > >> >> >> > >> >> >>>lihui,您好! > >> >> >>> > >> >> >>> 我也在win下试了一下,demos里的收发信功能都是可以。 > >> >> >>> limodou兄何不在newedit里集成一个gui的gmail客户端呢? > >> >> >>> > >> >> >>>======= 2004-08-31 11:50:42 您在来信中写道:======= > >> >> >>> > >> >> >>>>libgmail是可以的 > >> >> >>>>demo下有一些工具,可以读信和发信 > >> >> >>>> > >> >> >>>>只是汉字处理有问题,可能是编码有问题 > >> >> >>>> > >> >> >>>>仿真ftpserver上传没试成功 > >> >> >>>> > >> >> >>>>另外还发现一个gmailfs, > >> >> >>>>用在linux系统下,将gmail作为文件系统使用 > >> >> >>>> > >> >> >>>>在www.donews.net首页有介绍 > >> >> >>>> > >> >> >>>>网址:http://rocjard.jones.name/index.html > >> >> >>>> > >> >> >>>>On Tue, 31 Aug 2004 09:05:09 +0800, limodou <chatme at 263.net> wrote: > >> >> >>>>> Deadman,您好! > >> >> >>>>> > >> >> >>>>> 我试了libgmail可以登录。不过,不知道如何看信,只知道有信。 > >> >> >>>>> > >> >> >>>>> ======= 2004-08-30 22:42:30 您在来信中写道:======= > >> >> >>>>> > >> >> >>>>> >我�y���^程序需要修改�^才能用,看�硎�Gmail改��了接口 > >> >> >>>>> > > >> >> >>>>> >On Mon, 30 Aug 2004 14:47:05 +0800, Zoom.Quiet <zoomq at infopro.cn> wrote: > >> >> >>>>> >> Hollo lihui: > >> >> >>>>> >> > >> >> >>>>> >> 咦咦咦!??!?真的有Python 管理接口的!!! > >> >> >>>>> >> 回家才能试用! > >> >> >>>>> >> > >> >> >>>>> >> 谢谢先! > >> >> >>>>> >> > >> >> >>>>> >> /******** [2004-08-30]14:46:39 ; lihui wrote: > >> >> >>>>> >> > >> >> >>>>> >> lihui> 网址没了,程序在附件 > >> >> >>>>> >> > >> >> >>>>> >> ********************************************/ > >> >> >>>>> >> > >> >> >>>>> >> -- > >> >> >>>>> >> Free as in Freedom > >> >> >>>>> >> > >> >> >>>>> >> Zoom.Quiet > >> >> >>>>> >> > >> >> >>>>> >> #=========================================# > >> >> >>>>> >> ]Time is unimportant, only life important![ > >> >> >>>>> >> #=========================================# > >> >> >>>>> >> > >> >> >>>>> >> sender is the Bat!2.12.00 > >> >> >>>>> >> > >> >> >>>>> >> _______________________________________________ > >> >> >>>>> >> python-chinese list > >> >> >>>>> >> python-chinese at lists.python.cn > >> >> >>>>> >> http://python.cn/mailman/listinfo/python-chinese > >> >> >>>>> >> > >> >> >>>>> > > >> >> >>>>> > > >> >> >>>>> >-- > >> >> >>>>> >The Deadman Walking...... > >> >> >>>>> >_______________________________________________ > >> >> >>>>> >python-chinese list > >> >> >>>>> >python-chinese at lists.python.cn > >> >> >>>>> >http://python.cn/mailman/listinfo/python-chinese > >> >> >>>>> > >> >> >>>>> = = = = = = = = = = = = = = = = = = = = > >> >> >>>>> > >> >> >>>>> 致 > >> >> >>>>> 礼! > >> >> >>>>> > >> >> >>>>> > >> >> >>>>> limodou > >> >> >>>>> chatme at 263.net > >> >> >>>>> 2004-08-31 > >> >> >>>>> > >> >> >>>>> > >> >> >>>>> > >> >> >>>>> _______________________________________________ > >> >> >>>>> python-chinese list > >> >> >>>>> python-chinese at lists.python.cn > >> >> >>>>> http://python.cn/mailman/listinfo/python-chinese > >> >> >>>>> > >> >> >>>>> > >> >> >>>>_______________________________________________ > >> >> >>>>python-chinese list > >> >> >>>>python-chinese at lists.python.cn > >> >> >>>>http://python.cn/mailman/listinfo/python-chinese > >> >> >>> > >> >> >>>= = = = = = = = = = = = = = = = = = = = > >> >> >>> > >> >> >>> > >> >> >>>致 > >> >> >>>礼! > >> >> >>> > >> >> >>> > >> >> >>>dreamingk(天成) > >> >> >>>dreamingker at 163.com > >> >> >>>2004-08-31 > >> >> >>> > >> >> >>>_______________________________________________ > >> >> >>>python-chinese list > >> >> >>>python-chinese at lists.python.cn > >> >> >>>http://python.cn/mailman/listinfo/python-chinese > >> >> >>> > >> >> >> > >> >> >>= = = = = = = = = = = = = = = = = = = = > >> >> >> > >> >> >> > >> >> >>致 > >> >> >>礼! > >> >> >> > >> >> >> > >> >> >>limodou > >> >> >>chatme at 263.net > >> >> >>2004-08-31 > >> >> >> > >> >> >>_______________________________________________ > >> >> >>python-chinese list > >> >> >>python-chinese at lists.python.cn > >> >> >>http://python.cn/mailman/listinfo/python-chinese > >> >> >> > >> >> > > >> >> >= = = = = = = = = = = = = = = = = = = = > >> >> > > >> >> > > >> >> >致 > >> >> >礼! > >> >> > > >> >> > > >> >> >dreamingk(天成) > >> >> >dreamingker at 163.com > >> >> >2004-08-31 > >> >> > > >> >> >_______________________________________________ > >> >> >python-chinese list > >> >> >python-chinese at lists.python.cn > >> >> >http://python.cn/mailman/listinfo/python-chinese > >> >> > > >> >> > >> >> = = = = = = = = = = = = = = = = = = = = > >> >> > >> >> 致 > >> >> 礼! > >> >> > >> >> > >> >> limodou > >> >> chatme at 263.net > >> >> 2004-08-31 > >> >> > >> >> > >> >> > >> >> _______________________________________________ > >> >> python-chinese list > >> >> python-chinese at lists.python.cn > >> >> http://python.cn/mailman/listinfo/python-chinese > >> >> > >> >> > >> >_______________________________________________ > >> >python-chinese list > >> >python-chinese at lists.python.cn > >> >http://python.cn/mailman/listinfo/python-chinese > >> > >> = = = = = = = = = = = = = = = = = = = = > >> > >> 致 > >> 礼! > >> > >> > >> limodou > >> chatme at 263.net > >> 2004-08-31 > >> > >> > >> > >> _______________________________________________ > >> python-chinese list > >> python-chinese at lists.python.cn > >> http://python.cn/mailman/listinfo/python-chinese > >> > >> > >_______________________________________________ > >python-chinese list > >python-chinese at lists.python.cn > >http://python.cn/mailman/listinfo/python-chinese > > = = = = = = = = = = = = = = = = = = = = > > 致 > 礼! > > limodou > chatme at 263.net > 2004-08-31 > > > > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese > >
2004年08月31日 星期二 16:04
limodou,您好! popen什么东西? ======= 2004-08-31 15:57:01 您在来信中写道:======= >info,您好! > > 使用popen > >======= 2004-08-31 15:49:32 您在来信中写道:======= > >>tocer,您好! >> >> socket,rpc >> >>======= 2004-08-31 15:45:04 您在来信中写道:======= >> >>>我想这样:先用主程序打开一个dos窗口,执行“python”,进入python的解释器内。然后主程序向解释器发送命令,比如help,print之类,解释器接受命令后执行。最后主程序把解释器的输出显示出来。 >>> >>>请问有什么好思路么? >>>谢谢 >>> >>> tocer_______________________________________________ >>>python-chinese list >>>python-chinese at lists.python.cn >>>http://python.cn/mailman/listinfo/python-chinese >>> >> >>= = = = = = = = = = = = = = = = = = = = >> >> >> 致 >>礼! >> >> >> info >> info at xichen.com >> 2004-08-31 >> >>_______________________________________________ >>python-chinese list >>python-chinese at lists.python.cn >>http://python.cn/mailman/listinfo/python-chinese >> > >= = = = = = = = = = = = = = = = = = = = > > > 致 >礼! > > > limodou > chatme at 263.net > 2004-08-31 > >_______________________________________________ >python-chinese list >python-chinese at lists.python.cn >http://python.cn/mailman/listinfo/python-chinese > = = = = = = = = = = = = = = = = = = = = 致 礼! info info at xichen.com 2004-08-31
2004年08月31日 星期二 16:04
gmail真不错,特点是读mail-list的内容真方便 On Tue, 31 Aug 2004 16:03:35 +0800, lihui <lihuimail at gmail.com> wrote: > 使用libgmail,协议的问题已经解决了 > > 得重点解决一下编码问题 > > 不过mail的内容都是mime,不知有没有现成的东东 > > > > On Tue, 31 Aug 2004 15:11:28 +0800, limodou <chatme at 263.net> wrote: > > lihui,您好! > > > > 有乱码我看是因为utf-8编码造成了。看原始文件,有的连subject都是utf-8编码的,在命令行下自然就乱了。 > > > > > > > > ======= 2004-08-31 14:36:03 您在来信中写道:======= > > > > >有的 > > > > > >http://libgmail.sourceforge.net/ > > > > > >有例子,如下 > > >import libgmail > > > > > >ga = libgmail.GmailAccount("google at gmail.com", "mymailismypass") > > >ga.login() > > >folder = ga.getMessagesByFolder('inbox') > > > > > >for thread in folder: > > > print thread.id, len(thread), thread.subject > > > for msg in thread: > > > print " ", msg.id, msg.number, msg.subject > > > print msg.source > > > > > > > > > > > >On Tue, 31 Aug 2004 14:33:32 +0800, limodou <chatme at 263.net> wrote: > > >> lihui,您好! > > >> > > >> 这就叫收下来了?只有标题呀。内容在哪里呀 > > >> 我使用archieve至少还有个文件生成。内容怎么看呀 > > >>g > > >> ======= 2004-08-31 14:25:45 您在来信中写道:======= > > >> > > >> >可以的,就是直接运行libgmail.py > > >> > > > >> >或者使用例子,见下面的运行情况 > > >> > > > >> >只是汉字处理有问题,limodou老大帮解决一下, > > >> > > > >> > > > >> >[root at localhost libgmail-0.0.8]# python libgmail.py > > >> >Gmail account name: lihuimail > > >> >Password: > > >> > > > >> >Please wait, logging in... > > >> >Login successful. > > >> > > > >> >WARNING:root:Live Javascript and constants file versions differ. > > >> >0 MB of 1000 MB used. (0%) > > >> > > > >> >Select folder or label to list: (Ctrl-C to exit) > > >> > 0. inbox > > >> > 1. starred > > >> > 2. all > > >> > 3. drafts > > >> > 4. sent > > >> > 5. spam > > >> > 6. ftp > > >> > 7. gmail > > >> > 8. other > > >> > 9. private > > >> > 10. tkf > > >> > 11. work > > >> > 12. zlistpython > > >> > 13. zlistpythxx > > >> > 14. zlistzope > > >> >Choice: 11 > > >> > > > >> > > > >> >feb37eb7fce9d7d 1 20040630tj > > >> > feb37eb7fce9d7d 1 20040630tj > > >> > > > >> >feae561722b462c 1 杞彂: 2003骞翠腑淇濆姙缁熻 > > >> > feae561722b462c 1 杞彂: 2003骞翠腑淇濆姙缁熻 > > >> > > > >> >Select folder or label to list: (Ctrl-C to exit) > > >> > 0. inbox > > >> > 1. starred > > >> > 2. all > > >> > 3. drafts > > >> > 4. sent > > >> > 5. spam > > >> > 6. ftp > > >> > 7. gmail > > >> > 8. other > > >> > 9. private > > >> > 10. tkf > > >> > 11. work > > >> > 12. zlistpython > > >> > 13. zlistpythxx > > >> > 14. zlistzope > > >> >Choice: > > >> > > > >> > > > >> > > > >> > > > >> >On Tue, 31 Aug 2004 14:18:02 +0800, limodou <chatme at 263.net> wrote: > > >> >> dreamingk(天成),您好! > > >> >> > > >> >> popd我也没试成功。 smtpd没试,如果可以,一般的邮箱不就可以收、发信了吗。 > > >> >> > > >> >> ======= 2004-08-31 14:06:17 您在来信中写道:======= > > >> >> > > >> >> > > >> >> > > >> >> >limodou,您好! > > >> >> > > > >> >> > ftp服务器试用一下,可以登陆,但是上传也没成功不知道 怎么回事!不过这个想法还是不错的! > > >> >> > > > >> >> >======= 2004-08-31 13:50:43 您在来信中写道:======= > > >> >> > > > >> >> >>dreamingk(天成),您好! > > >> >> >> > > >> >> >> 呵呵。可以考虑。 > > >> >> >> > > >> >> >>======= 2004-08-31 13:38:06 您在来信中写道:======= > > >> >> >> > > >> >> >>>lihui,您好! > > >> >> >>> > > >> >> >>> 我也在win下试了一下,demos里的收发信功能都是可以。 > > >> >> >>> limodou兄何不在newedit里集成一个gui的gmail客户端呢? > > >> >> >>> > > >> >> >>>======= 2004-08-31 11:50:42 您在来信中写道:======= > > >> >> >>> > > >> >> >>>>libgmail是可以的 > > >> >> >>>>demo下有一些工具,可以读信和发信 > > >> >> >>>> > > >> >> >>>>只是汉字处理有问题,可能是编码有问题 > > >> >> >>>> > > >> >> >>>>仿真ftpserver上传没试成功 > > >> >> >>>> > > >> >> >>>>另外还发现一个gmailfs, > > >> >> >>>>用在linux系统下,将gmail作为文件系统使用 > > >> >> >>>> > > >> >> >>>>在www.donews.net首页有介绍 > > >> >> >>>> > > >> >> >>>>网址:http://rocjard.jones.name/index.html > > >> >> >>>> > > >> >> >>>>On Tue, 31 Aug 2004 09:05:09 +0800, limodou <chatme at 263.net> wrote: > > >> >> >>>>> Deadman,您好! > > >> >> >>>>> > > >> >> >>>>> 我试了libgmail可以登录。不过,不知道如何看信,只知道有信。 > > >> >> >>>>> > > >> >> >>>>> ======= 2004-08-30 22:42:30 您在来信中写道:======= > > >> >> >>>>> > > >> >> >>>>> >我�y���^程序需要修改�^才能用,看�硎�Gmail改��了接口 > > >> >> >>>>> > > > >> >> >>>>> >On Mon, 30 Aug 2004 14:47:05 +0800, Zoom.Quiet <zoomq at infopro.cn> wrote: > > >> >> >>>>> >> Hollo lihui: > > >> >> >>>>> >> > > >> >> >>>>> >> 咦咦咦!??!?真的有Python 管理接口的!!! > > >> >> >>>>> >> 回家才能试用! > > >> >> >>>>> >> > > >> >> >>>>> >> 谢谢先! > > >> >> >>>>> >> > > >> >> >>>>> >> /******** [2004-08-30]14:46:39 ; lihui wrote: > > >> >> >>>>> >> > > >> >> >>>>> >> lihui> 网址没了,程序在附件 > > >> >> >>>>> >> > > >> >> >>>>> >> ********************************************/ > > >> >> >>>>> >> > > >> >> >>>>> >> -- > > >> >> >>>>> >> Free as in Freedom > > >> >> >>>>> >> > > >> >> >>>>> >> Zoom.Quiet > > >> >> >>>>> >> > > >> >> >>>>> >> #=========================================# > > >> >> >>>>> >> ]Time is unimportant, only life important![ > > >> >> >>>>> >> #=========================================# > > >> >> >>>>> >> > > >> >> >>>>> >> sender is the Bat!2.12.00 > > >> >> >>>>> >> > > >> >> >>>>> >> _______________________________________________ > > >> >> >>>>> >> python-chinese list > > >> >> >>>>> >> python-chinese at lists.python.cn > > >> >> >>>>> >> http://python.cn/mailman/listinfo/python-chinese > > >> >> >>>>> >> > > >> >> >>>>> > > > >> >> >>>>> > > > >> >> >>>>> >-- > > >> >> >>>>> >The Deadman Walking...... > > >> >> >>>>> >_______________________________________________ > > >> >> >>>>> >python-chinese list > > >> >> >>>>> >python-chinese at lists.python.cn > > >> >> >>>>> >http://python.cn/mailman/listinfo/python-chinese > > >> >> >>>>> > > >> >> >>>>> = = = = = = = = = = = = = = = = = = = = > > >> >> >>>>> > > >> >> >>>>> 致 > > >> >> >>>>> 礼! > > >> >> >>>>> > > >> >> >>>>> > > >> >> >>>>> limodou > > >> >> >>>>> chatme at 263.net > > >> >> >>>>> 2004-08-31 > > >> >> >>>>> > > >> >> >>>>> > > >> >> >>>>> > > >> >> >>>>> _______________________________________________ > > >> >> >>>>> python-chinese list > > >> >> >>>>> python-chinese at lists.python.cn > > >> >> >>>>> http://python.cn/mailman/listinfo/python-chinese > > >> >> >>>>> > > >> >> >>>>> > > >> >> >>>>_______________________________________________ > > >> >> >>>>python-chinese list > > >> >> >>>>python-chinese at lists.python.cn > > >> >> >>>>http://python.cn/mailman/listinfo/python-chinese > > >> >> >>> > > >> >> >>>= = = = = = = = = = = = = = = = = = = = > > >> >> >>> > > >> >> >>> > > >> >> >>>致 > > >> >> >>>礼! > > >> >> >>> > > >> >> >>> > > >> >> >>>dreamingk(天成) > > >> >> >>>dreamingker at 163.com > > >> >> >>>2004-08-31 > > >> >> >>> > > >> >> >>>_______________________________________________ > > >> >> >>>python-chinese list > > >> >> >>>python-chinese at lists.python.cn > > >> >> >>>http://python.cn/mailman/listinfo/python-chinese > > >> >> >>> > > >> >> >> > > >> >> >>= = = = = = = = = = = = = = = = = = = = > > >> >> >> > > >> >> >> > > >> >> >>致 > > >> >> >>礼! > > >> >> >> > > >> >> >> > > >> >> >>limodou > > >> >> >>chatme at 263.net > > >> >> >>2004-08-31 > > >> >> >> > > >> >> >>_______________________________________________ > > >> >> >>python-chinese list > > >> >> >>python-chinese at lists.python.cn > > >> >> >>http://python.cn/mailman/listinfo/python-chinese > > >> >> >> > > >> >> > > > >> >> >= = = = = = = = = = = = = = = = = = = = > > >> >> > > > >> >> > > > >> >> >致 > > >> >> >礼! > > >> >> > > > >> >> > > > >> >> >dreamingk(天成) > > >> >> >dreamingker at 163.com > > >> >> >2004-08-31 > > >> >> > > > >> >> >_______________________________________________ > > >> >> >python-chinese list > > >> >> >python-chinese at lists.python.cn > > >> >> >http://python.cn/mailman/listinfo/python-chinese > > >> >> > > > >> >> > > >> >> = = = = = = = = = = = = = = = = = = = = > > >> >> > > >> >> 致 > > >> >> 礼! > > >> >> > > >> >> > > >> >> limodou > > >> >> chatme at 263.net > > >> >> 2004-08-31 > > >> >> > > >> >> > > >> >> > > >> >> _______________________________________________ > > >> >> python-chinese list > > >> >> python-chinese at lists.python.cn > > >> >> http://python.cn/mailman/listinfo/python-chinese > > >> >> > > >> >> > > >> >_______________________________________________ > > >> >python-chinese list > > >> >python-chinese at lists.python.cn > > >> >http://python.cn/mailman/listinfo/python-chinese > > >> > > >> = = = = = = = = = = = = = = = = = = = = > > >> > > >> 致 > > >> 礼! > > >> > > >> > > >> limodou > > >> chatme at 263.net > > >> 2004-08-31 > > >> > > >> > > >> > > >> _______________________________________________ > > >> python-chinese list > > >> python-chinese at lists.python.cn > > >> http://python.cn/mailman/listinfo/python-chinese > > >> > > >> > > >_______________________________________________ > > >python-chinese list > > >python-chinese at lists.python.cn > > >http://python.cn/mailman/listinfo/python-chinese > > > > = = = = = = = = = = = = = = = = = = = = > > > > 致 > > 礼! > > > > limodou > > chatme at 263.net > > 2004-08-31 > > > > > > > > _______________________________________________ > > python-chinese list > > python-chinese at lists.python.cn > > http://python.cn/mailman/listinfo/python-chinese > > > > >
2004年08月31日 星期二 16:14
info,您好! 管道呀 ======= 2004-08-31 16:04:12 您在来信中写道:======= >limodou,您好! > > popen什么东西? > >======= 2004-08-31 15:57:01 您在来信中写道:======= > >>info,您好! >> >> 使用popen >> >>======= 2004-08-31 15:49:32 您在来信中写道:======= >> >>>tocer,您好! >>> >>> socket,rpc >>> >>>======= 2004-08-31 15:45:04 您在来信中写道:======= >>> >>>>我想这样:先用主程序打开一个dos窗口,执行“python”,进入python的解释器内。然后主程序向解释器发送命令,比如help,print之类,解释器接受命令后执行。最后主程序把解释器的输出显示出来。 >>>> >>>>请问有什么好思路么? >>>>谢谢 >>>> >>>> tocer_______________________________________________ >>>>python-chinese list >>>>python-chinese at lists.python.cn >>>>http://python.cn/mailman/listinfo/python-chinese >>>> >>> >>>= = = = = = = = = = = = = = = = = = = = >>> >>> >>> 致 >>>礼! >>> >>> >>> info >>> info at xichen.com >>> 2004-08-31 >>> >>>_______________________________________________ >>>python-chinese list >>>python-chinese at lists.python.cn >>>http://python.cn/mailman/listinfo/python-chinese >>> >> >>= = = = = = = = = = = = = = = = = = = = >> >> >> 致 >>礼! >> >> >> limodou >> chatme at 263.net >> 2004-08-31 >> >>_______________________________________________ >>python-chinese list >>python-chinese at lists.python.cn >>http://python.cn/mailman/listinfo/python-chinese >> > >= = = = = = = = = = = = = = = = = = = = > > > 致 >礼! > > > info > info at xichen.com > 2004-08-31 > >_______________________________________________ >python-chinese list >python-chinese at lists.python.cn >http://python.cn/mailman/listinfo/python-chinese > = = = = = = = = = = = = = = = = = = = = 致 礼! limodou chatme at 263.net 2004-08-31
2004年08月31日 星期二 16:15
lihui,您好! 当然有了。email模块,还有几个子模块,不过以前没研究过。 ======= 2004-08-31 16:03:35 您在来信中写道:======= >使用libgmail,协议的问题已经解决了 > >得重点解决一下编码问题 > >不过mail的内容都是mime,不知有没有现成的东东 > >On Tue, 31 Aug 2004 15:11:28 +0800, limodou <chatme at 263.net> wrote: >> lihui,您好! >> >> 有乱码我看是因为utf-8编码造成了。看原始文件,有的连subject都是utf-8编码的,在命令行下自然就乱了。 >> >> >> >> ======= 2004-08-31 14:36:03 您在来信中写道:======= >> >> >有的 >> > >> >http://libgmail.sourceforge.net/ >> > >> >有例子,如下 >> >import libgmail >> > >> >ga = libgmail.GmailAccount("google at gmail.com", "mymailismypass") >> >ga.login() >> >folder = ga.getMessagesByFolder('inbox') >> > >> >for thread in folder: >> > print thread.id, len(thread), thread.subject >> > for msg in thread: >> > print " ", msg.id, msg.number, msg.subject >> > print msg.source >> > >> > >> > >> >On Tue, 31 Aug 2004 14:33:32 +0800, limodou <chatme at 263.net> wrote: >> >> lihui,您好! >> >> >> >> 这就叫收下来了?只有标题呀。内容在哪里呀 >> >> 我使用archieve至少还有个文件生成。内容怎么看呀 >> >> >> >> ======= 2004-08-31 14:25:45 您在来信中写道:======= >> >> >> >> >可以的,就是直接运行libgmail.py >> >> > >> >> >或者使用例子,见下面的运行情况 >> >> > >> >> >只是汉字处理有问题,limodou老大帮解决一下, >> >> > >> >> > >> >> >[root at localhost libgmail-0.0.8]# python libgmail.py >> >> >Gmail account name: lihuimail >> >> >Password: >> >> > >> >> >Please wait, logging in... >> >> >Login successful. >> >> > >> >> >WARNING:root:Live Javascript and constants file versions differ. >> >> >0 MB of 1000 MB used. (0%) >> >> > >> >> >Select folder or label to list: (Ctrl-C to exit) >> >> > 0. inbox >> >> > 1. starred >> >> > 2. all >> >> > 3. drafts >> >> > 4. sent >> >> > 5. spam >> >> > 6. ftp >> >> > 7. gmail >> >> > 8. other >> >> > 9. private >> >> > 10. tkf >> >> > 11. work >> >> > 12. zlistpython >> >> > 13. zlistpythxx >> >> > 14. zlistzope >> >> >Choice: 11 >> >> > >> >> > >> >> >feb37eb7fce9d7d 1 20040630tj >> >> > feb37eb7fce9d7d 1 20040630tj >> >> > >> >> >feae561722b462c 1 杞彂: 2003骞翠腑淇濆姙缁熻 >> >> > feae561722b462c 1 杞彂: 2003骞翠腑淇濆姙缁熻 >> >> > >> >> >Select folder or label to list: (Ctrl-C to exit) >> >> > 0. inbox >> >> > 1. starred >> >> > 2. all >> >> > 3. drafts >> >> > 4. sent >> >> > 5. spam >> >> > 6. ftp >> >> > 7. gmail >> >> > 8. other >> >> > 9. private >> >> > 10. tkf >> >> > 11. work >> >> > 12. zlistpython >> >> > 13. zlistpythxx >> >> > 14. zlistzope >> >> >Choice: >> >> > >> >> > >> >> > >> >> > >> >> >On Tue, 31 Aug 2004 14:18:02 +0800, limodou <chatme at 263.net> wrote: >> >> >> dreamingk(天成),您好! >> >> >> >> >> >> popd我也没试成功。 smtpd没试,如果可以,一般的邮箱不就可以收、发信了吗。 >> >> >> >> >> >> ======= 2004-08-31 14:06:17 您在来信中写道:======= >> >> >> >> >> >> >> >> >> >> >> >> >limodou,您好! >> >> >> > >> >> >> > ftp服务器试用一下,可以登陆,但是上传也没成功不知道 怎么回事!不过这个想法还是不错的! >> >> >> > >> >> >> >======= 2004-08-31 13:50:43 您在来信中写道:======= >> >> >> > >> >> >> >>dreamingk(天成),您好! >> >> >> >> >> >> >> >> 呵呵。可以考虑。 >> >> >> >> >> >> >> >>======= 2004-08-31 13:38:06 您在来信中写道:======= >> >> >> >> >> >> >> >>>lihui,您好! >> >> >> >>> >> >> >> >>> 我也在win下试了一下,demos里的收发信功能都是可以。 >> >> >> >>> limodou兄何不在newedit里集成一个gui的gmail客户端呢? >> >> >> >>> >> >> >> >>>======= 2004-08-31 11:50:42 您在来信中写道:======= >> >> >> >>> >> >> >> >>>>libgmail是可以的 >> >> >> >>>>demo下有一些工具,可以读信和发信 >> >> >> >>>> >> >> >> >>>>只是汉字处理有问题,可能是编码有问题 >> >> >> >>>> >> >> >> >>>>仿真ftpserver上传没试成功 >> >> >> >>>> >> >> >> >>>>另外还发现一个gmailfs, >> >> >> >>>>用在linux系统下,将gmail作为文件系统使用 >> >> >> >>>> >> >> >> >>>>在www.donews.net首页有介绍 >> >> >> >>>> >> >> >> >>>>网址:http://rocjard.jones.name/index.html >> >> >> >>>> >> >> >> >>>>On Tue, 31 Aug 2004 09:05:09 +0800, limodou <chatme at 263.net> wrote: >> >> >> >>>>> Deadman,您好! >> >> >> >>>>> >> >> >> >>>>> 我试了libgmail可以登录。不过,不知道如何看信,只知道有信。 >> >> >> >>>>> >> >> >> >>>>> ======= 2004-08-30 22:42:30 您在来信中写道:======= >> >> >> >>>>> >> >> >> >>>>> >我�y���^程序需要修改�^才能用,看�硎�Gmail改��了接口 >> >> >> >>>>> > >> >> >> >>>>> >On Mon, 30 Aug 2004 14:47:05 +0800, Zoom.Quiet <zoomq at infopro.cn> wrote: >> >> >> >>>>> >> Hollo lihui: >> >> >> >>>>> >> >> >> >> >>>>> >> 咦咦咦!??!?真的有Python 管理接口的!!! >> >> >> >>>>> >> 回家才能试用! >> >> >> >>>>> >> >> >> >> >>>>> >> 谢谢先! >> >> >> >>>>> >> >> >> >> >>>>> >> /******** [2004-08-30]14:46:39 ; lihui wrote: >> >> >> >>>>> >> >> >> >> >>>>> >> lihui> 网址没了,程序在附件 >> >> >> >>>>> >> >> >> >> >>>>> >> ********************************************/ >> >> >> >>>>> >> >> >> >> >>>>> >> -- >> >> >> >>>>> >> Free as in Freedom >> >> >> >>>>> >> >> >> >> >>>>> >> Zoom.Quiet >> >> >> >>>>> >> >> >> >> >>>>> >> #=========================================# >> >> >> >>>>> >> ]Time is unimportant, only life important![ >> >> >> >>>>> >> #=========================================# >> >> >> >>>>> >> >> >> >> >>>>> >> sender is the Bat!2.12.00 >> >> >> >>>>> >> >> >> >> >>>>> >> _______________________________________________ >> >> >> >>>>> >> python-chinese list >> >> >> >>>>> >> python-chinese at lists.python.cn >> >> >> >>>>> >> http://python.cn/mailman/listinfo/python-chinese >> >> >> >>>>> >> >> >> >> >>>>> > >> >> >> >>>>> > >> >> >> >>>>> >-- >> >> >> >>>>> >The Deadman Walking...... >> >> >> >>>>> >_______________________________________________ >> >> >> >>>>> >python-chinese list >> >> >> >>>>> >python-chinese at lists.python.cn >> >> >> >>>>> >http://python.cn/mailman/listinfo/python-chinese >> >> >> >>>>> >> >> >> >>>>> = = = = = = = = = = = = = = = = = = = = >> >> >> >>>>> >> >> >> >>>>> 致 >> >> >> >>>>> 礼! >> >> >> >>>>> >> >> >> >>>>> >> >> >> >>>>> limodou >> >> >> >>>>> chatme at 263.net >> >> >> >>>>> 2004-08-31 >> >> >> >>>>> >> >> >> >>>>> >> >> >> >>>>> >> >> >> >>>>> _______________________________________________ >> >> >> >>>>> python-chinese list >> >> >> >>>>> python-chinese at lists.python.cn >> >> >> >>>>> http://python.cn/mailman/listinfo/python-chinese >> >> >> >>>>> >> >> >> >>>>> >> >> >> >>>>_______________________________________________ >> >> >> >>>>python-chinese list >> >> >> >>>>python-chinese at lists.python.cn >> >> >> >>>>http://python.cn/mailman/listinfo/python-chinese >> >> >> >>> >> >> >> >>>= = = = = = = = = = = = = = = = = = = = >> >> >> >>> >> >> >> >>> >> >> >> >>>致 >> >> >> >>>礼! >> >> >> >>> >> >> >> >>> >> >> >> >>>dreamingk(天成) >> >> >> >>>dreamingker at 163.com >> >> >> >>>2004-08-31 >> >> >> >>> >> >> >> >>>_______________________________________________ >> >> >> >>>python-chinese list >> >> >> >>>python-chinese at lists.python.cn >> >> >> >>>http://python.cn/mailman/listinfo/python-chinese >> >> >> >>> >> >> >> >> >> >> >> >>= = = = = = = = = = = = = = = = = = = = >> >> >> >> >> >> >> >> >> >> >> >>致 >> >> >> >>礼! >> >> >> >> >> >> >> >> >> >> >> >>limodou >> >> >> >>chatme at 263.net >> >> >> >>2004-08-31 >> >> >> >> >> >> >> >>_______________________________________________ >> >> >> >>python-chinese list >> >> >> >>python-chinese at lists.python.cn >> >> >> >>http://python.cn/mailman/listinfo/python-chinese >> >> >> >> >> >> >> > >> >> >> >= = = = = = = = = = = = = = = = = = = = >> >> >> > >> >> >> > >> >> >> >致 >> >> >> >礼! >> >> >> > >> >> >> > >> >> >> >dreamingk(天成) >> >> >> >dreamingker at 163.com >> >> >> >2004-08-31 >> >> >> > >> >> >> >_______________________________________________ >> >> >> >python-chinese list >> >> >> >python-chinese at lists.python.cn >> >> >> >http://python.cn/mailman/listinfo/python-chinese >> >> >> > >> >> >> >> >> >> = = = = = = = = = = = = = = = = = = = = >> >> >> >> >> >> 致 >> >> >> 礼! >> >> >> >> >> >> >> >> >> limodou >> >> >> chatme at 263.net >> >> >> 2004-08-31 >> >> >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> >> >> python-chinese list >> >> >> python-chinese at lists.python.cn >> >> >> http://python.cn/mailman/listinfo/python-chinese >> >> >> >> >> >> >> >> >_______________________________________________ >> >> >python-chinese list >> >> >python-chinese at lists.python.cn >> >> >http://python.cn/mailman/listinfo/python-chinese >> >> >> >> = = = = = = = = = = = = = = = = = = = = >> >> >> >> 致 >> >> 礼! >> >> >> >> >> >> limodou >> >> chatme at 263.net >> >> 2004-08-31 >> >> >> >> >> >> >> >> _______________________________________________ >> >> python-chinese list >> >> python-chinese at lists.python.cn >> >> http://python.cn/mailman/listinfo/python-chinese >> >> >> >> >> >_______________________________________________ >> >python-chinese list >> >python-chinese at lists.python.cn >> >http://python.cn/mailman/listinfo/python-chinese >> >> = = = = = = = = = = = = = = = = = = = = >> >> 致 >> 礼! >> >> limodou >> chatme at 263.net >> 2004-08-31 >> >> >> >> _______________________________________________ >> python-chinese list >> python-chinese at lists.python.cn >> http://python.cn/mailman/listinfo/python-chinese >> >> >_______________________________________________ >python-chinese list >python-chinese at lists.python.cn >http://python.cn/mailman/listinfo/python-chinese = = = = = = = = = = = = = = = = = = = = 致 礼! limodou chatme at 263.net 2004-08-31
Zeuux © 2025
京ICP备05028076号