2005年09月01日 星期四 16:03
把UTF8关掉试验下 在 05-8-30,Lee DYER<lee.dyer at gmail.com> 写道: > 在 05-8-30,jam.zheng<jam.zheng at achievo.com> 写道: > > > > > > 可以的啊,下载中…… > > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese > > >
2005年09月01日 星期四 17:11
大家好! 请问使用ftplib做ftp客户端,如何获取服务器文件的最后修改时间? 我看了半天文档,好像都没有提到,请大家帮忙啊,我在windows2000下使用。 致 礼! jeekchen jeekchen at 163.com 2005-09-01
2005年09月01日 星期四 17:11
我把Python解释器嵌入到应用程序中,然后把Python的脚本文件(*.py)作为函数PyRun_SimpleFile(FILE *fp, const char *filename)参数传入到解释其中,从而实现对文件的解释执行,但现在我想在调用PyRun_SimpleFile()函数前先对脚本文件(*.py)进行词法、语法检查,请问Python的内建函数或扩展中有没有专门用于词法、语法检查的函数?请各位大虾指点指点,:),谢谢! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050901/329f5445/attachment.htm
2005年09月01日 星期四 17:21
在 05-9-1,xu.shengyong<zjxushengyong at hotmail.com> 写道: > > 我把Python解释器嵌入到应用程序中,然后把Python的脚本文件(*.py)作为函数PyRun_SimpleFile(FILE > *fp, const char > *filename)参数传入到解释其中,从而实现对文件的解释执行,但现在我想在调用PyRun_SimpleFile()函数前先对脚本文件(*.py)进行词法、语法检查,请问Python的内建函数或扩展中有没有专门用于词法、语法检查的函数?请各位大虾指点指点,:),谢谢! 内置的没有。外置的有pycheck和pylint可以试试。 -- I like python! My Donews Blog: http://www.donews.net/limodou
2005年09月01日 星期四 17:41
不知道能否嵌入到VC应用程序中,谢谢! ----- Original Message ----- From: "limodou" <limodou at gmail.com> To: <python-chinese at lists.python.cn> Sent: Thursday, September 01, 2005 5:21 PM Subject: Re: [python-chinese] 请教:关于将Python解释器嵌入到VC应用程序中的问题,谢谢! >在 05-9-1,xu.shengyong<zjxushengyong at hotmail.com> 写道: >> >> 我把Python解释器嵌入到应用程序中,然后把Python的脚本文件(*.py)作为函数PyRun_SimpleFile(FILE >> *fp, const char >> *filename)参数传入到解释其中,从而实现对文件的解释执行,但现在我想在调用PyRun_SimpleFile()函数前先对脚本文件(*.py)进行词法、语法检查,请问Python的内建函数或扩展中有没有专门用于词法、语法检查的函数?请各位大虾指点指点,:),谢谢! > > 内置的没有。外置的有pycheck和pylint可以试试。 > > -- > I like python! > My Donews Blog: http://www.donews.net/limodou > -------------------------------------------------------------------------------- > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese >
2005年09月01日 星期四 17:51
在 05-9-1,xu.shengyong<zjxushengyong at hotmail.com> 写道: > 不知道能否嵌入到VC应用程序中,谢谢! > > ----- Original Message ----- > From: "limodou" <limodou at gmail.com> > To: <python-chinese at lists.python.cn> > Sent: Thursday, September 01, 2005 5:21 PM > Subject: Re: [python-chinese] 请教:关于将Python解释器嵌入到VC应用程序中的问题,谢谢! 没做过。应该是可以pycheck可以作为模块来使用。 -- I like python! My Donews Blog: http://www.donews.net/limodou
2005年09月01日 星期四 19:27
可以使用python的编译函数先编译一把:) 在05-9-1,xu.shengyong <zjxushengyong at hotmail.com> 写道: > > 我把Python解释器嵌入到应用程序中,然后把Python的脚本文件(*.py)作为函数PyRun_SimpleFile(FILE *fp, > const char > *filename)参数传入到解释其中,从而实现对文件的解释执行,但现在我想在调用PyRun_SimpleFile()函数前先对脚本文件(*.py)进行词法、语法检查,请问Python的内建函数或扩展中有没有专门用于词法、语法检查的函数?请各位大虾指点指点,:),谢谢! > > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese > > > -- My Blog >> http://leejd.cndev.org My QQ >> 9847243 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050901/2e20d57a/attachment.htm
2005年09月01日 星期四 20:01
Gerald Lee 编译函数是哪一个呢?能否举例说明一下,谢谢! ----- Original Message ----- From: Gerald Lee To: python-chinese at lists.python.cn Sent: Thursday, September 01, 2005 7:27 PM Subject: Re: [python-chinese] 请教:关于将Python解释器嵌入到VC应用程序中的问题,谢谢! 可以使用python的编译函数先编译一把:) 在05-9-1,xu.shengyong <zjxushengyong at hotmail.com> 写道: 我把Python解释器嵌入到应用程序中,然后把Python的脚本文件(*.py)作为函数PyRun_SimpleFile(FILE *fp, const char *filename)参数传入到解释其中,从而实现对文件的解释执行,但现在我想在调用PyRun_SimpleFile()函数前先对脚本文件(*.py)进行词法、语法检查,请问Python的内建函数或扩展中有没有专门用于词法、语法检查的函数?请各位大虾指点指点,:),谢谢! _______________________________________________ python-chinese list python-chinese at lists.python.cn http://python.cn/mailman/listinfo/python-chinese -- My Blog >> http://leejd.cndev.org My QQ >> 9847243 ------------------------------------------------------------------------------ _______________________________________________ python-chinese list python-chinese at lists.python.cn http://python.cn/mailman/listinfo/python-chinese -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050901/5cf299d1/attachment-0001.html
2005年09月01日 星期四 22:12
compile( string, filename, kind[, flags[, dont_inherit]]) Python Library Reference 2.1 Built-in Functions 其实有一系列函数的 --- "xu.shengyong" <zjxushengyong at hotmail.com>写道: > Gerald Lee > 编译函数是哪一个呢?能否举例说明一下,谢谢! > > ----- Original Message ----- > From: Gerald Lee > To: python-chinese at lists.python.cn > Sent: Thursday, September 01, 2005 7:27 PM > Subject: Re: [python-chinese] > 请教:关于将Python解释器嵌入到VC应用程序中的问题,谢谢! > > > 可以使用python的编译函数先编译一把:) > > > 在05-9-1,xu.shengyong <zjxushengyong at hotmail.com> > 写道: > > 我把Python解释器嵌入到应用程序中,然后把Python的脚本文件(*.py)作为函数PyRun_SimpleFile(FILE > *fp, const char > *filename)参数传入到解释其中,从而实现对文件的解释执行,但现在我想在调用PyRun_SimpleFile()函数前先对脚本文件(*.py)进行词法、语法检查,请问Python的内建函数或扩展中有没有专门用于词法、语法检查的函数?请各位大虾指点指点,:),谢谢! > > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese > > > > > > > -- > My Blog >> http://leejd.cndev.org > My QQ >> 9847243 > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > 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 > ========================================================== A student of Math in Soochow University in China. Intrested in Math, Python, Octave, Lisp, Maxima, Prolog and .NET/MONO. Blog: http://blog.sina.com.cn/blog/1142604745 Wiki: http://wiki.woodpecker.org.cn/moin/Hoxide ___________________________________________________________ 雅虎邮箱超强增值服务-2G超大空间、pop3收信、无限量邮件提醒 http://cn.mail.yahoo.com
2005年09月01日 星期四 23:11
编译函数能否将Python脚本文件中存在的词法、语法错误作为返回值返回吗?我的意图是将词法、语法的错误信息提示给用户。 ----- Original Message ----- From: "Hoxide Ma" <hoxide_dirac at yahoo.com.cn> To: <python-chinese at lists.python.cn> Sent: Thursday, September 01, 2005 10:12 PM Subject: 回复: Re: [python-chinese] 请教:关于将Python解释器嵌入到VC应用程序中的问题,谢谢! > compile( string, filename, kind[, flags[, > dont_inherit]]) > > Python Library Reference > 2.1 Built-in Functions > 其实有一系列函数的 > > --- "xu.shengyong" <zjxushengyong at hotmail.com>写道: > >> Gerald Lee >> 编译函数是哪一个呢?能否举例说明一下,谢谢! >> >> ----- Original Message ----- >> From: Gerald Lee >> To: python-chinese at lists.python.cn >> Sent: Thursday, September 01, 2005 7:27 PM >> Subject: Re: [python-chinese] >> > 请教:关于将Python解释器嵌入到VC应用程序中的问题,谢谢! >> >> >> 可以使用python的编译函数先编译一把:) >> >> >> 在05-9-1,xu.shengyong <zjxushengyong at hotmail.com> >> 写道: >> >> > 我把Python解释器嵌入到应用程序中,然后把Python的脚本文件(*.py)作为函数PyRun_SimpleFile(FILE >> *fp, const char >> > *filename)参数传入到解释其中,从而实现对文件的解释执行,但现在我想在调用PyRun_SimpleFile()函数前先对脚本文件(*.py)进行词法、语法检查,请问Python的内建函数或扩展中有没有专门用于词法、语法检查的函数?请各位大虾指点指点,:),谢谢! >> >> _______________________________________________ >> python-chinese list >> python-chinese at lists.python.cn >> http://python.cn/mailman/listinfo/python-chinese >> >> >> >> >> >> >> -- >> My Blog >> http://leejd.cndev.org >> My QQ >> 9847243 >> >> >> > ------------------------------------------------------------------------------ >> >> >> _______________________________________________ >> 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 >> > > > ========================================================== > > A student of Math in Soochow University in China. > Intrested in Math, Python, Octave, Lisp, Maxima, Prolog and .NET/MONO. > > Blog: http://blog.sina.com.cn/blog/1142604745 > Wiki: http://wiki.woodpecker.org.cn/moin/Hoxide > > > > ___________________________________________________________ > 雅虎邮箱超强增值服务-2G超大空间、pop3收信、无限量邮件提醒 > http://cn.mail.yahoo.com > _______________________________________________ > python-chinese list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese >
2005年09月01日 星期四 23:20
在 05-9-1,xu.shengyong<zjxushengyong at hotmail.com> 写道: > 编译函数能否将Python脚本文件中存在的词法、语法错误作为返回值返回吗?我的意图是将词法、语法的错误信息提示给用户。 > 你可以捕捉异常。 另外你的邮件在回复时都没有经过裁剪,建议将不必要的东西去掉。 -- I like python! My Donews Blog: http://www.donews.net/limodou
Zeuux © 2025
京ICP备05028076号