2006年03月02日 星期四 14:21
On 7/25/05, nicran <nicran at gmail.com> wrote: > 主要是需要一个场地 > 有场地和热心的组织者即可. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit
2006年03月02日 星期四 15:56
各位:
我在使用PYTHON中遇到如下一个问题,久而未解决。
我写了一个Python程序,要求可以从系统的命令行管道符输入,如:
$ls | myprogram.py
但我采用了各种想得到的方法,还是取得不了管道符输入的数据。
请各位指教。
致
礼!
张永雷
Bejing HATL Information Technology Co. Ltd.
TEL: 0311-85270111/85278690~4转8047
MOB: 13930106728
tianyu263 at 163.com
2006-03-02 15:47:37
= = = = = = = = = = = = = = = = = = = =
======= 2006-03-02 14:22:28 您在来信中写道:=======
>On 7/25/05, nicran <nicran at gmail.com> wrote:
>> 主要是需要一个场地
>>
>
>有场地和热心的组织者即可.
>
>--
>I like python!
>My Blog: http://www.donews.net/limodou
>NewEdit Maillist: http://groups.google.com/group/NewEdit
>_______________________________________________
>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年03月02日 星期四 16:23
On 3/2/06, limodou <limodou at gmail.com> wrote: > On 7/25/05, nicran <nicran at gmail.com> wrote: > > 主要是需要一个场地 > > > > 有场地和热心的组织者即可. 可以同学校联系哪,应该有很多空的自习教室在周末可用的………… > > -- > I like python! > My Blog: http://www.donews.net/limodou > NewEdit Maillist: http://groups.google.com/group/NewEdit > > _______________________________________________ > 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年03月02日 星期四 16:45
I can provide meeting room in Shenzhen. We can organize the first pythoner's meeting in Guangdong area :) 2006/3/2, Zoom Quiet <zoom.quiet at gmail.com>: > > On 3/2/06, limodou <limodou at gmail.com> wrote: > > On 7/25/05, nicran <nicran at gmail.com> wrote: > > > 主要是需要一个场地 > > > > > > > 有场地和热心的组织者即可. > 可以同学校联系哪,应该有很多空的自习教室在周末可用的………… > > > > -- > > I like python! > > My Blog: http://www.donews.net/limodou > > NewEdit Maillist: http://groups.google.com/group/NewEdit > > > > _______________________________________________ > > 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/20060302/ba21385e/attachment.htm
2006年03月02日 星期四 16:52
跟用不用管道符没关系吧? raw_input() ? 在06-3-2,张永雷 <tianyu263 at 163.com> 写道: > > 各位: > > 我在使用PYTHON中遇到如下一个问题,久而未解决。 > 我写了一个Python程序,要求可以从系统的命令行管道符输入,如: > $ls | myprogram.py > 但我采用了各种想得到的方法,还是取得不了管道符输入的数据。 > 请各位指教。 > > 致 > 礼! > > > 张永雷 > Bejing HATL Information Technology Co. Ltd. > TEL: 0311-85270111/85278690~4转8047 > MOB: 13930106728 > tianyu263 at 163.com > 2006-03-02 15:47:37 > > = = = = = = = = = = = = = = = = = = = = > ======= 2006-03-02 14:22:28 您在来信中写道:======= > > >On 7/25/05, nicran <nicran at gmail.com> wrote: > >> 主要是需要一个场地 > >> > > > >有场地和热心的组织者即可. > > > >-- > >I like python! > >My Blog: http://www.donews.net/limodou > >NewEdit Maillist: http://groups.google.com/group/NewEdit > >_______________________________________________ > >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/20060302/397c77bc/attachment-0001.html
2006年03月02日 星期四 18:00
ls | python myprogram.py 在myprogram.py直接读取标准输入 -- Best Regards, mep
2006年03月02日 星期四 23:24
好像在深圳的人不多,以前联系到过2个的,不过一直都很忙,大家面都没有见上。 希望深圳的都来浮个水吧,大家见面认识一下! 在06-3-2,nicran <nicran at gmail.com> 写道: > > I can provide meeting room in Shenzhen. We can organize the first > pythoner's meeting in Guangdong area :) > _______________________________________________ > 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 > > -- My Blog >> http://leejd.cndev.org My QQ >> 9847243 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060302/affc3cea/attachment.html
2006年03月03日 星期五 07:49
第一,windows还是Unix windows很麻烦,必须 ls | python myprogram.py 第二, Unix必须指明全路径,即便在当前目录里面也必须明确 ls | ./myprogram.py 第三,很简单,os.stdin import os os.stdin.read() On 3/2/06, mep <kebowang at gmail.com> wrote: > ls | python myprogram.py > 在myprogram.py直接读取标准输入 > > > -- > Best Regards, > mep > > _______________________________________________ > 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 > >
Zeuux © 2025
京ICP备05028076号