Re: python-chinese 摘要, 卷 49, 发布 66

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: python-chinese 摘要, 卷 49, 发布 66

jun yang-3
看看 paramiko

在08-1-7,[hidden email] <[hidden email]> 写道:
想在 python-chinese 邮件列表发言,请写信给:
         [hidden email]

要订阅或者退订列表,可以访问万维网地址:
        http://python.cn/mailman/listinfo/python-chinese
或者可以向:
        [hidden email]
发送主题或者正文为'help'的邮件。

您可以通过邮件地址:
        [hidden email]
联系到此列表的管理员。

当回信时,请给一个适当的标题,这样会比 "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" < [hidden email]>
Subject: Re: [python-chinese]
        [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)

To: [hidden email]
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="gb2312"

DING一个。
关于薪水,个人认为得看每个月能给公司贡献多少,如果每个月能贡献50W,一个月给10W也未尝不可。关键是能贡献到那么多吗?
还有一个企业相关的其它开支,难说的,项目不是那么好拿的。钱不是那么好赚的。

On Jan 7, 2008 3:22 PM, GoodGoodStudy&DayDayUp <[hidden email]> wrote:

> 有这样的水平的话,改做sale也不错 :-)
>
> >
> > Message: 2
> > Date: Mon, 7 Jan 2008 15:07:26 +0800
> > From: " 东子/hydon " <[hidden email]>
> > Subject: Re: [python-chinese]
> >         [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)
> >
> > To: [hidden email]
> > Message-ID:
> >         <[hidden email]>
> > Content-Type: text/plain; charset="gb2312"
> >
> > 改行做鸭? 你以为谁都可以做啊.
> > 1.要帅
> > 2.要体力好
> > 3.要沟通好
> > 4.要酒量好
> > 5.要有情调
> >
> > 有做鸭的水平, 可以去做项目经理了...专门拿项目就行.
> >
>
> --
> THINK big, DO small.
> _______________________________________________
> python-chinese
> Post: send [hidden email]
> Subscribe: send subscribe to [hidden email]
> Unsubscribe: send unsubscribe to  [hidden email]
> 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" <[hidden email]>
Subject: [python-chinese]
        logging模块处理时间为什么会差距个小时,有谁遇到过吗?

To: [hidden email]
Cc: [hidden email]
Message-ID:
        <[hidden email]>
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" < [hidden email]>
Subject: Re: [python-chinese]
        [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)

To: [hidden email]
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="gb2312"

哎,赚钱不容易啊

On Jan 7, 2008 3:46 PM, Youhong Han <[hidden email]> wrote:

> DING一个。
> 关于薪水,个人认为得看每个月能给公司贡献多少,如果每个月能贡献50W,一个月给10W也未尝不可。关键是能贡献到那么多吗?
> 还有一个企业相关的其它开支,难说的,项目不是那么好拿的。钱不是那么好赚的。
>
>
> On Jan 7, 2008 3:22 PM, GoodGoodStudy&DayDayUp < [hidden email]>
> wrote:
>
> > 有这样的水平的话,改做sale也不错 :-)
> >
> > >
> > > Message: 2
> > > Date: Mon, 7 Jan 2008 15:07:26 +0800
> > > From: " 东子/hydon " <[hidden email]>
> > > Subject: Re: [python-chinese]
> > >         [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)
> > >
> > > To: [hidden email]
> > > Message-ID:
> > >         < [hidden email]>
> > > Content-Type: text/plain; charset="gb2312"
> > >
> > > 改行做鸭? 你以为谁都可以做啊.
> > > 1.要帅
> > > 2.要体力好
> > > 3.要沟通好
> > > 4.要酒量好
> > > 5.要有情调
> > >
> > > 有做鸭的水平, 可以去做项目经理了...专门拿项目就行.
> > >
> >
> > --
> > THINK big, DO small.
> > _______________________________________________
> > python-chinese
> > Post: send [hidden email]
> > Subscribe: send subscribe to [hidden email]
> > Unsubscribe: send unsubscribe to   [hidden email]
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
>
>
> _______________________________________________
> python-chinese
> Post: send [hidden email]
> Subscribe: send subscribe to [hidden email]
> Unsubscribe: send unsubscribe to  [hidden email]
> 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" < [hidden email]>
Subject: Re: [python-chinese]
        如何ssh到另外一台机器上执行程序
To: [hidden email]
Message-ID:
        <[hidden email]>
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 < [hidden email] >:

>
> 或者,你去看  python-paramiko 模块
>
> On Jan 4, 2008 3:56 PM, Jiahua Huang < [hidden email]> wrote:
> > 你用过 ssh 的吧,
> >
> > 调用 ssh 命令的话,
> > 用 os.popen2 打开 ssh,
> > 向 ssh 进程写你的命令
> >
> _______________________________________________
> python-chinese
> Post: send [hidden email]
> Subscribe: send subscribe to [hidden email]
> Unsubscribe: send unsubscribe to   [hidden email]
> 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 <[hidden email]>
Subject: [python-chinese]  RE:
        [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)

To: <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="gb2312"

这里说的MS是北京的吧?

上海这边刚开始都是 Vender, 能不能以及啥时候和 MS 签合同还是未知数。

如果跟MS签的话 12w-15w/年



Date: Mon, 7 Jan 2008 15:46:24 +0800
From: [hidden email]
To: [hidden email]
Subject: Re: [python-chinese]   [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)

2年前MS新员工好像没有15w这么多的。不知道是不是升过了 呵呵


On 1/7/08, GoodGoodStudy&DayDayUp <[hidden email]> wrote:
有这样的水平的话,改做sale也不错 :-)

>
> Message: 2
> Date: Mon, 7 Jan 2008 15:07:26 +0800
> From: " 东子/hydon " <
[hidden email]>
> Subject: Re: [python-chinese]
>         [招聘]上海全职Python开发(2人),做平台开发(认证,计费相关)
>
> To:
[hidden email]
> Message-ID:
>         <[hidden email]>

> Content-Type: text/plain; charset="gb2312"
>
> 改行做鸭? 你以为谁都可以做啊.
> 1.要帅
> 2.要体力好
> 3.要沟通好
> 4.要酒量好
> 5.要有情调
>
> 有做鸭的水平, 可以去做项目经理了...专门拿项目就行.
>


--
THINK big, DO small.
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to
[hidden email]
Unsubscribe: send unsubscribe to  [hidden email]

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
[hidden email]
http://python.cn/mailman/listinfo/python-chinese

结束python-chinese 摘要, 卷 49, 发布 66
**********************************************


_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese