Python论坛  - 讨论区

标题:[python-chinese] python-chinese 摘要, 卷 49, 发布 66

2008年01月08日 星期二 11:50

jun yang yn0287在gmail.com
星期二 一月 8 11:50:53 HKT 2008

看看 paramiko

在08-1-7,python-chinese-request在lists.python.cn <
python-chinese-request在lists.python.cn> 写道:
>
> 想在 python-chinese 邮件列表发言,请写信给:
>         python-chinese在lists.python.cn
>
> 要订阅或者退订列表,可以访问万维网地址:
>         http://python.cn/mailman/listinfo/python-chinese
> 或者可以向:
>         python-chinese-request在lists.python.cn
> 发送主题或者正文为'help'的邮件。
>
> 您可以通过邮件地址:
>         python-chinese-owner在lists.python.cn
> 联系到此列表的管理员。
>
> 当回信时,请给一个适当的标题,这样会比 "Re:
> Contents of python-chinese digest..."更清楚明白。
>
>
> 本日主题:
>
>    1. Re:
>       [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)
>       (Youhong Han)
>    2.
>       logging模块处理时间为什么会差距个小时,有谁遇到过吗?
>       (Arui Zen)
>    3. Re:
>       [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)
>       (Tu Tu)
>    4. Re: 如何ssh到另外一台机器上执行程序 (Jian Qin)
>    5.  RE:
>       [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)
>       (tairan wang)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 7 Jan 2008 15:46:27 +0800
> From: "Youhong Han" <python.han在gmail.com>
> Subject: Re: [python-chinese]
>         [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)
>
> To: python-chinese在lists.python.cn
> Message-ID:
>         <e6d984b40801062346t61947607vfdf2340065322e0e在mail.gmail.com>
> Content-Type: text/plain; charset="gb2312"
>
> DING一个。
> 关于薪水,个人认为得看每个月能给公司贡献多少,如果每个月能贡献50W,一个月给10W也未尝不可。关键是能贡献到那么多吗?
> 还有一个企业相关的其它开支,难说的,项目不是那么好拿的。钱不是那么好赚的。
>
> On Jan 7, 2008 3:22 PM, GoodGoodStudy&DayDayUp; <peixu.zhu在gmail.com>
> wrote:
>
> > 有这样的水平的话,改做sale也不错 :-)
> >
> > >
> > > Message: 2
> > > Date: Mon, 7 Jan 2008 15:07:26 +0800
> > > From: " 东子/hydon " <hydonlee在gmail.com>
> > > Subject: Re: [python-chinese]
> > >         [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)
> > >
> > > To: python-chinese在lists.python.cn
> > > Message-ID:
> > >         <3bc65bab0801062307n2ce0e67bkb1533e9ddfb15a4a在mail.gmail.com>
> > > Content-Type: text/plain; charset="gb2312"
> > >
> > > 改行做鸭? 你以为谁都可以做啊.
> > > 1.要帅
> > > 2.要体力好
> > > 3.要沟通好
> > > 4.要酒量好
> > > 5.要有情调
> > >
> > > 有做鸭的水平, 可以去做项目经理了...专门拿项目就行.
> > >
> >
> > --
> > THINK big, DO small.
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
> -------------- 涓���ㄥ� --------------
> 一个HTML附件被移除...
> URL:
> http://python.cn/pipermail/python-chinese/attachments/20080107/e779434d/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Mon, 7 Jan 2008 15:50:24 +0800
> From: "Arui Zen" <dujunfly在gmail.com>
> Subject: [python-chinese]
>         logging模块处理时间为什么会差距个小时,有谁遇到过吗?
>
> To: python-cn在googlegroups.com
> Cc: python-chinese在lists.python.cn
> Message-ID:
>         <8c0e61920801062350tfde303bxda5866f419508c55在mail.gmail.com>
> Content-Type: text/plain; charset="gb2312"
>
> 程序里面用了logging,默认的asctime输出的时间早了8个小时,比如现在是15:45,它输出的是05:45,我的代码:
> 我已经显式指定了datefmt为默认格式,
>
> logger=logging.getLogger('IMR')
> logger.setLevel(logging.DEBUG)
> imrFormatter = logging.Formatter('%(asctime)s |##|
> %(message)s',datefmt='%Y-%m-%d %H:%M:%S')
>
>
> 平台:
> ubuntu server 7.10
> 时区: Asia/Shanghai
>
> 用python查看:
> >>> import time
> >>> time.asctime()
> 'Mon Jan  7 15:48:34 2008'
> >>>
>
> 然后程序的输出还是类似于
> 2008-01-07 07:33:39 |##|
> 这样的格式,整整早了8小时,
>
> 在另一台RHEL上运行也是一样的情况,,,,
> 有谁遇到过类似情况吗?请指教.
>
> --
>
> DJ
> -------------- 涓���ㄥ� --------------
> 一个HTML附件被移除...
> URL:
> http://python.cn/pipermail/python-chinese/attachments/20080107/64eba6df/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Mon, 7 Jan 2008 15:51:57 +0800
> From: "Tu Tu" <tu.tuqiang在gmail.com>
> Subject: Re: [python-chinese]
>         [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)
>
> To: python-chinese在lists.python.cn
> Message-ID:
>         <881429650801062351r1541d60pb4fbc503a97e79d2在mail.gmail.com>
> Content-Type: text/plain; charset="gb2312"
>
> 哎,赚钱不容易啊
>
> On Jan 7, 2008 3:46 PM, Youhong Han <python.han在gmail.com> wrote:
>
> > DING一个。
> > 关于薪水,个人认为得看每个月能给公司贡献多少,如果每个月能贡献50W,一个月给10W也未尝不可。关键是能贡献到那么多吗?
> > 还有一个企业相关的其它开支,难说的,项目不是那么好拿的。钱不是那么好赚的。
> >
> >
> > On Jan 7, 2008 3:22 PM, GoodGoodStudy&DayDayUp; < peixu.zhu在gmail.com>
> > wrote:
> >
> > > 有这样的水平的话,改做sale也不错 :-)
> > >
> > > >
> > > > Message: 2
> > > > Date: Mon, 7 Jan 2008 15:07:26 +0800
> > > > From: " 东子/hydon " <hydonlee在gmail.com>
> > > > Subject: Re: [python-chinese]
> > > >         [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)
> > > >
> > > > To: python-chinese在lists.python.cn
> > > > Message-ID:
> > > >         <
> 3bc65bab0801062307n2ce0e67bkb1533e9ddfb15a4a在mail.gmail.com>
> > > > Content-Type: text/plain; charset="gb2312"
> > > >
> > > > 改行做鸭? 你以为谁都可以做啊.
> > > > 1.要帅
> > > > 2.要体力好
> > > > 3.要沟通好
> > > > 4.要酒量好
> > > > 5.要有情调
> > > >
> > > > 有做鸭的水平, 可以去做项目经理了...专门拿项目就行.
> > > >
> > >
> > > --
> > > THINK big, DO small.
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese在lists.python.cn
> > > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > > Unsubscribe: send unsubscribe to
> python-chinese-request在lists.python.cn
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > >
> >
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
>
>
>
> --
> ---------------------------------------------------
> www.douban.com/people/tutuqiang/
> ---------------------------------------------------
> -------------- 涓���ㄥ� --------------
> 一个HTML附件被移除...
> URL:
> http://python.cn/pipermail/python-chinese/attachments/20080107/cab0bd38/attachment-0001.htm
>
> ------------------------------
>
> Message: 4
> Date: Mon, 7 Jan 2008 15:54:11 +0800
> From: "Jian Qin" <qinjian在gmail.com>
> Subject: Re: [python-chinese]
>         如何ssh到另外一台机器上执行程序
> To: python-chinese在lists.python.cn
> Message-ID:
>         <b374f3730801062354x26caffd4s4086cc963bd69cc2在mail.gmail.com>
> Content-Type: text/plain; charset="gb2312"
>
> 如果:
> import os
> i,o = os.popen2('ssh 192.168.0.77')
>
> 会报  "Pseudo-terminal will not be allocated because stdin is not a
> terminal"
> google了一下,ssh -tt 可以解决。
> 但是ssh -tt 只对subprocess有用,对popen2不起作用,所以最后能用的代码是:
>
> import subprocess
> p = subprocess.Popen(['ssh', '-tt', '192.168.0.77'])
> p.stdin.write('nc -l -vv -p 6666')
>
> 不管subprocess还是popen,调用ssh -tt时都会报
> tcgetattr: Invalid argument错误, 但subprocess能继续执行,popen2则无响应
>
> paramiko 模块不熟悉,报了个import error就没试了:)
>
> 2008/1/4, Jiahua Huang < jhuangjiahua在gmail.com >:
> >
> > 或者,你去看  python-paramiko 模块
> >
> > On Jan 4, 2008 3:56 PM, Jiahua Huang < jhuangjiahua在gmail.com> wrote:
> > > 你用过 ssh 的吧,
> > >
> > > 调用 ssh 命令的话,
> > > 用 os.popen2 打开 ssh,
> > > 向 ssh 进程写你的命令
> > >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese在lists.python.cn
> > Subscribe: send subscribe to python-chinese-request在lists.python.cn
> > Unsubscribe: send unsubscribe to
> python-chinese-request在lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> -------------- 涓���ㄥ� --------------
> 一个HTML附件被移除...
> URL:
> http://python.cn/pipermail/python-chinese/attachments/20080107/96b91076/attachment-0001.html
>
> ------------------------------
>
> Message: 5
> Date: Mon, 7 Jan 2008 08:00:16 +0000
> From: tairan wang <python在tairan.net>
> Subject: [python-chinese]  RE:
>         [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)
>
> To: <python-chinese在lists.python.cn>
> Message-ID: <BLU117-W344DFD6429E2A4B7DE55E7BE4F0在phx.gbl>
> Content-Type: text/plain; charset="gb2312"
>
> 这里说的MS是北京的吧?
>
> 上海这边刚开始都是 Vender, 能不能以及啥时候和 MS 签合同还是未知数。
>
> 如果跟MS签的话 12w-15w/年
>
>
>
> Date: Mon, 7 Jan 2008 15:46:24 +0800
> From: askfor在gmail.com
> To: python-chinese在lists.python.cn
> Subject: Re: [python-chinese]   [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)
>
> 2年前MS新员工好像没有15w这么多的。不知道是不是升过了 呵呵
>
>
> On 1/7/08, GoodGoodStudy&DayDayUp; <peixu.zhu在gmail.com> wrote:
> 有这样的水平的话,改做sale也不错 :-)
>
> >
> > Message: 2
> > Date: Mon, 7 Jan 2008 15:07:26 +0800
> > From: " 东子/hydon " <
> hydonlee在gmail.com>
> > Subject: Re: [python-chinese]
> >         [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)
> >
> > To:
> python-chinese在lists.python.cn
> > Message-ID:
> >         <3bc65bab0801062307n2ce0e67bkb1533e9ddfb15a4a在mail.gmail.com>
>
> > Content-Type: text/plain; charset="gb2312"
> >
> > 改行做鸭? 你以为谁都可以做啊.
> > 1.要帅
> > 2.要体力好
> > 3.要沟通好
> > 4.要酒量好
> > 5.要有情调
> >
> > 有做鸭的水平, 可以去做项目经理了...专门拿项目就行.
> >
>
>
> --
> THINK big, DO small.
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
>
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> -------------- 涓���ㄥ� --------------
> 一个HTML附件被移除...
> URL:
> http://python.cn/pipermail/python-chinese/attachments/20080107/6f4e346d/attachment.htm
>
> ------------------------------
>
> _______________________________________________
> python-chinese mailing list
> python-chinese在lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
>
> 结束python-chinese 摘要, 卷 49, 发布 66
> **********************************************
>
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: http://python.cn/pipermail/python-chinese/attachments/20080108/90da6288/attachment-0001.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2024

    京ICP备05028076号