2006年04月17日 星期一 11:26
我的IDE有一个listBOX,里面有好几个运行外部程序的选项,我需要当一个外部程序结束后,就运行一个备份命令. 但是现在只有当整个IDE结束后,才运行这个备份命令.请问应该如何处理。 谢谢 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060417/ca05df0a/attachment.htm
2006年04月17日 星期一 16:07
外部程序?exe文件? 你可以查看 os.spawnl()系列函数,应该可以满足你的要求 spawnl(mode, file, *args) spawnl(mode, file, *args) -> integer Execute file with arguments from args in a subprocess. If mode == P_NOWAIT return the pid of the process. If mode == P_WAIT return the process's exit code if it exits normally; otherwise return -SIG, where SIG is the signal that killed it. 在 06-4-17,jason python.nbfan<python.nbfan at gmail.com> 写道: > 我的IDE有一个listBOX,里面有好几个运行外部程序的选项,我需要当一个外部程序结束后,就运行一个备份命令. > 但是现在只有当整个IDE结束后,才运行这个备份命令.请问应该如何处理。 > 谢谢 > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to > python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to > python-chinese-request at lists.python.cn > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > >
2006年04月19日 星期三 08:56
我用py2exe把wxpython程序转成exe,在win98下不能运行,请问如何解决? 在06-4-17,FireBird <ygonic at gmail.com> 写道: > > 外部程序?exe文件? > 你可以查看 os.spawnl()系列函数,应该可以满足你的要求 > > spawnl(mode, file, *args) > spawnl(mode, file, *args) -> integer > > Execute file with arguments from args in a subprocess. > If mode == P_NOWAIT return the pid of the process. > If mode == P_WAIT return the process's exit code if it exits normally; > otherwise return -SIG, where SIG is the signal that killed it. > > 在 06-4-17,jason python.nbfan<python.nbfan at gmail.com> 写道: > > 我的IDE有一个listBOX,里面有好几个运行外部程序的选项,我需要当一个外部程序结束后,就运行一个备份命令. > > 但是现在只有当整个IDE结束后,才运行这个备份命令.请问应该如何处理。 > > 谢谢 > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to > > python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request at lists.python.cn > > Detail Info: > > http://python.cn/mailman/listinfo/python-chinese > > > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060419/6c55084b/attachment.htm
2006年04月19日 星期三 09:06
在06-4-19,jason python.nbfan <python.nbfan at gmail.com> 写道: > > 我用py2exe把wxpython程序转成exe,在win98下不能运行,请问如何解决? > > 在06-4-17,FireBird <ygonic at gmail.com> 写道: > > > 外部程序?exe文件? > > 你可以查看 os.spawnl()系列函数,应该可以满足你的要求 > > > > spawnl(mode, file, *args) > > spawnl(mode, file, *args) -> integer > > > > Execute file with arguments from args in a subprocess. > > If mode == P_NOWAIT return the pid of the process. > > If mode == P_WAIT return the process's exit code if it exits > > normally; > > otherwise return -SIG, where SIG is the signal that killed it. > > > > 在 06-4-17,jason python.nbfan< python.nbfan at gmail.com> 写道: > > > 我的IDE有一个listBOX,里面有好几个运行外部程序的选项,我需要当一个外部程序结束后,就运行一个备份命令. > > > 但是现在只有当整个IDE结束后,才运行这个备份命令.请问应该如何处理。 > > > 谢谢 > > > > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese at lists.python.cn > > > Subscribe: send subscribe to > > > python-chinese-request at lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request at lists.python.cn > > > Detail Info: > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese 安装一下vb6应该就可以了。 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060419/51ac39b9/attachment.htm
2006年04月19日 星期三 09:40
你的意思是需要vb6的库? 不可能让用户为了我这个软件在安装一个vb6 在06-4-19,Pau Lau <paulau591 at gmail.com> 写道: > > > > 在06-4-19,jason python.nbfan <python.nbfan at gmail.com> 写道: > > > > 我用py2exe把wxpython程序转成exe,在win98下不能运行,请问如何解决? > > 在06-4-17,FireBird <ygonic at gmail.com> 写道: > > > 外部程序?exe文件? > > 你可以查看 os.spawnl()系列函数,应该可以满足你的要求 > > > > spawnl(mode, file, *args) > > spawnl(mode, file, *args) -> integer > > > > Execute file with arguments from args in a subprocess. > > If mode == P_NOWAIT return the pid of the process. > > If mode == P_WAIT return the process's exit code if it exits > > normally; > > otherwise return -SIG, where SIG is the signal that killed it. > > > > 在 06-4-17,jason python.nbfan< python.nbfan at gmail.com> 写道: > > > 我的IDE有一个listBOX,里面有好几个运行外部程序的选项,我需要当一个外部程序结束后,就运行一个备份命令. > > > 但是现在只有当整个IDE结束后,才运行这个备份命令.请问应该如何处理。 > > > 谢谢 > > > > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese at lists.python.cn > > > Subscribe: send subscribe to > > > python-chinese-request at lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request at lists.python.cn > > > Detail Info: > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > _______________________________________________ > > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > 安装一下vb6应该就可以了。 > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060419/3dbd4095/attachment-0001.htm
2006年04月19日 星期三 09:54
在06-4-19,jason python.nbfan <python.nbfan at gmail.com> 写道: > > 你的意思是需要vb6的库? > 不可能让用户为了我这个软件在安装一个vb6 > > 在06-4-19,Pau Lau <paulau591 at gmail.com> 写道: > > > > > > > > 在06-4-19,jason python.nbfan <python.nbfan at gmail.com > 写道: > > > > > > 我用py2exe把wxpython程序转成exe,在win98下不能运行,请问如何解决? > > > > 在06-4-17,FireBird <ygonic at gmail.com> 写道: > > > > > 外部程序?exe文件? > > > 你可以查看 os.spawnl()系列函数,应该可以满足你的要求 > > > > > > spawnl(mode, file, *args) > > > spawnl(mode, file, *args) -> integer > > > > > > Execute file with arguments from args in a subprocess. > > > If mode == P_NOWAIT return the pid of the process. > > > If mode == P_WAIT return the process's exit code if it exits > > > normally; > > > otherwise return -SIG, where SIG is the signal that killed it. > > > > > > 在 06-4-17,jason python.nbfan< python.nbfan at gmail.com> 写道: > > > > 我的IDE有一个listBOX,里面有好几个运行外部程序的选项,我需要当一个外部程序结束后,就运行一个备份命令. > > > > 但是现在只有当整个IDE结束后,才运行这个备份命令.请问应该如何处理。 > > > > 谢谢 > > > > > > > > > > > > _______________________________________________ > > > > python-chinese > > > > Post: send python-chinese at lists.python.cn > > > > Subscribe: send subscribe to > > > > python-chinese-request at lists.python.cn > > > > Unsubscribe: send unsubscribe to > > > > python-chinese-request at lists.python.cn > > > > Detail Info: > > > > http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese at lists.python.cn > > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request at lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > _______________________________________________ > > > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > 安装一下vb6应该就可以了。 > > > > > > > > _______________________________________________ > > > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese 那你就在win98下打一次试试 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060419/924c61a7/attachment.html
2006年04月19日 星期三 11:39
py2exe的打包在win9x需要一个文件 w9xpopen.exe -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060419/996b94b5/attachment.htm
2006年04月19日 星期三 11:41
这个文件不知道能不能和bootloader拼在一起? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060419/d7e2b3ed/attachment-0001.html
2006年04月19日 星期三 12:04
可以到网上找vb运行库的, 很多,不用装vb ----- Original Message ----- From: jason python.nbfan To: python-chinese at lists.python.cn Sent: Wednesday, April 19, 2006 9:40 AM Subject: Re: [python-chinese] 请教关于调用外部程序的处理 你的意思是需要vb6的库? 不可能让用户为了我这个软件在安装一个vb6 在06-4-19,Pau Lau <paulau591 at gmail.com> 写道: 在06-4-19,jason python.nbfan <python.nbfan at gmail.com > 写道: 我用py2exe把wxpython程序转成exe,在win98下不能运行,请问如何解决? 在06-4-17,FireBird <ygonic at gmail.com> 写道: 外部程序?exe文件? 你可以查看 os.spawnl()系列函数,应该可以满足你的要求 spawnl(mode, file, *args) spawnl(mode, file, *args) -> integer Execute file with arguments from args in a subprocess. If mode == P_NOWAIT return the pid of the process. If mode == P_WAIT return the process's exit code if it exits normally; otherwise return -SIG, where SIG is the signal that killed it. 在 06-4-17,jason python.nbfan< python.nbfan at gmail.com> 写道: > 我的IDE有一个listBOX,里面有好几个运行外部程序的选项,我需要当一个外部程序结束后,就运行一个备份命令. > 但是现在只有当整个IDE结束后,才运行这个备份命令.请问应该如何处理。 > 谢谢 > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to > python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to > python-chinese-request at lists.python.cn > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > > _______________________________________________ python-chinese Post: send python-chinese at lists.python.cn Subscribe: send subscribe to python-chinese-request at lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese _______________________________________________ python-chinese Post: send python-chinese at lists.python.cn Subscribe: send subscribe to python-chinese-request at lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese 安装一下vb6应该就可以了。 _______________________________________________ python-chinese Post: send python-chinese at lists.python.cn Subscribe: send subscribe to python-chinese-request at lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese ------------------------------------------------------------------------------ _______________________________________________ python-chinese Post: send python-chinese at lists.python.cn Subscribe: send subscribe to python-chinese-request at lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060419/93c8e298/attachment.htm
2006年04月21日 星期五 00:34
我现在在学python,想做网站试试, 请大家帮忙提供几个好的 服务提供商。
2006年04月21日 星期五 11:08
dreamhost貌似不错。 好多人在用 www.djangocn.org 这个也在上面。 在06-4-21,聪明的傻瓜 <wmjie.cn at gmail.com> 写道: > > 我现在在学python,想做网站试试, > 请大家帮忙提供几个好的 服务提供商。 > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060421/4a174e97/attachment.html
Zeuux © 2025
京ICP备05028076号