2006年04月06日 星期四 15:11
我想限制一个程序一次只能运行一个,而且我想监视这个程序的进程,在结束时做点别的控制。 请问如何操作?或者哪有相关的资料介绍? 谢谢 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060406/09385f63/attachment.htm
2006年04月06日 星期四 15:17
http://cvs.woodpecker.org.cn/svn/woodpecker/newedit/trunk/doc/dde.txt newedit 的 DDE 技术,是综合了各种技巧后选定的,可以参考 On 4/6/06, jason python.nbfan <python.nbfan at gmail.com> wrote: > 我想限制一个程序一次只能运行一个,而且我想监视这个程序的进程,在结束时做点别的控制。 > 请问如何操作?或者哪有相关的资料介绍? > 谢谢 > > _______________________________________________ > 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 > > -- """Time is unimportant, only life important! blogging : http://blog.zoomquiet.org/pyblosxom/ wiki enter: http://wiki.woodpecker.org.cn/moin/ZoomQuiet in douban: http://www.douban.com/people/zoomq/ """
2006年04月07日 星期五 08:30
是这样的,我想通过python启动一个程序,监视这个程序的进程,让这个程序统一时间只能运行一个,等这个程序进程结束,备份这个程序的数据库。 2006/4/6, Zoom Quiet <zoom.quiet at gmail.com>: > > http://cvs.woodpecker.org.cn/svn/woodpecker/newedit/trunk/doc/dde.txt > > newedit 的 DDE 技术,是综合了各种技巧后选定的,可以参考 > > On 4/6/06, jason python.nbfan <python.nbfan at gmail.com> wrote: > > 我想限制一个程序一次只能运行一个,而且我想监视这个程序的进程,在结束时做点别的控制。 > > 请问如何操作?或者哪有相关的资料介绍? > > 谢谢 > > > > _______________________________________________ > > 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 > > > > > > > -- > """Time is unimportant, only life important! > blogging : http://blog.zoomquiet.org/pyblosxom/ > wiki enter: http://wiki.woodpecker.org.cn/moin/ZoomQuiet > in douban: http://www.douban.com/people/zoomq/ > """ > > _______________________________________________ > 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/20060407/d1e7ad07/attachment.htm
2006年04月07日 星期五 12:43
Creating a single instance application<http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/474070> ,很简洁,其实就是使用win32下的互斥变量,当然前提是windows系统并安装pywin32包 在06-4-6,jason python.nbfan <python.nbfan at gmail.com> 写道: > > 我想限制一个程序一次只能运行一个,而且我想监视这个程序的进程,在结束时做点别的控制。 > 请问如何操作?或者哪有相关的资料介绍? > 谢谢 > > _______________________________________________ > 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/20060407/66c826c2/attachment.html
Zeuux © 2025
京ICP备05028076号