免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5180 | 回复: 2

twisted 中如何使用twistd [复制链接]

论坛徽章:
0
发表于 2008-10-03 18:57 |显示全部楼层
10可用积分
看了http://wiki.woodpecker.org.cn/moin/twistedTUT01

我在windows的环境下如何运行application,/tac文件/如何调用twistd

先谢了!

[ 本帖最后由 needspeedboy 于 2008-10-3 19:00 编辑 ]

最佳答案

查看完整内容

Re:Re: Re : TwistedDo c中的例子 运行不成功=?UNKNOWN?B?zfW8zrS6?= wang_jc at neusoft.com Mon Sep 20 08:59:52 HKT 2004 Previous message: Re: 晕,又有 Gmail邀请信了 Next message: 今天怎么没什么人说话了? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] --------------------------------------------------------------------------------GreyRoar,您好! 用到application以后的twisted程序,需 ...

论坛徽章:
0
发表于 2008-10-03 18:57 |显示全部楼层
Re:Re: [python-chinese] Re : TwistedDo c中的例子 运行不成功
=?UNKNOWN?B?zfW8zrS6?= wang_jc at neusoft.com
Mon Sep 20 08:59:52 HKT 2004

Previous message: [python-chinese] Re: [python-chine se] 晕,又有 Gmail邀请信了
Next message: [python-chinese] 今天怎么没什么人说话了?
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

--------------------------------------------------------------------------------

GreyRoar,您好!

        用到application以后的twisted程序,需要用twistd(注意是twistd而不是twisted)来运行。
        具体的使用方式可以看看finger11.py后面的那段关于twistd的说明。

        如果安装了twisted以后,“开始”菜单里会有一个叫做“twisted command prompt”的东西,
        在这个command状态下就可以使用twistd来运行带有application的twisted程序了。^_^

        注:在windows xp中,这个东西会放在“开始”菜单的最上面一层里,
        在windows 2000中,会放在twisted的那个菜单里面,呵呵。试试吧。

======= 2004-09-17 22:08:00 您在来信中写道:=======

>nightmarch,您好!
>
>        twisted后面几个例子只在FreeBSD下运行成功,windows下出错是正常的。
>
>======= 2004-09-17 09:58:00 您在来信中写道:=======
>
>>梅劲松:
>>  已经安装twisted,我是直接运行finger12.py的,是不是运行方法错了?需要其他的damon工具来运行?
>>
>>运行方式如下:
>>C:\Python23\Lib\site-packages\TwistedDocs\howto\tutorial\listings\finger>finger1
>>2.py
>>
>>
>>
>>
>>On Fri, 17 Sep 2004 09:47:16 +0800, 梅劲松 <stephen.cn at gmail.com> wrote:
>>> 先确定你已经安装了Twisted
>>>
>>>
>>> On Fri, 17 Sep 2004 09:29:07 +0800, nightmarch <nightmarch at gmail.com> wrote:
>>> > 太简单了没有人回答?
>>>
>>>
>>> >
>>> > On Thu, 16 Sep 2004 14:12:27 +0800, nightmarch <nightmarch at gmail.com> wrote:
>>> > > 我在windows环境下运行如下的例子都不成功,运行每个例子时都是没有反应,请问各位这是怎么回事?
>>> > >
>>> > > C:\Python23\Lib\site-packages\TwistedDocs\howto\tutorial\listings\finger12~~finger17
>>> > >
>>> > _______________________________________________
>>> > 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
>
>= = = = = = = = = = = = = = = = = = = =
>                       
>
>        致
>礼!
>
>                                 
>        GreyRoar
>        GreyRoar at tom.com
>          2004-09-17
>
>
>
>
>_______________________________________________
>python-chinese list
>python-chinese at lists.python.cn
>http://python.cn/mailman/listinfo/python-chinese

= = = = = = = = = = = = = = = = = = = =
                       

        致
礼!

                                 
        王嘉春
        wang_jc at neusoft.com
          2004-09-20






--------------------------------------------------------------------------------


Previous message: [python-chinese] Re: [python-chine se] 晕,又有 Gmail邀请信了
Next message: [python-chinese] 今天怎么没什么人说话了?
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

--------------------------------------------------------------------------------
More information about the python-chinese mailing list

论坛徽章:
0
发表于 2008-10-08 17:07 |显示全部楼层
谢谢了

再问一下

root% twistd -y finger.tac --pidfile=finger.pid
root% twistd -y finger.tac --rundir=/
root% twistd -y finger.tac --chroot=/var
root% twistd -y finger.tac -l /var/log/finger.log
root% twistd -y finger.tac --syslog # 转向log到syslog中
root% twistd -y finger.tac --syslog --prefix=twistedfinger # 使用指定的路径

这些是什么含义在,如何执行。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP