Python论坛  - 讨论区

标题:[python-chinese] 求助,LINUX下调试py程序的简单方法

2007年12月27日 星期四 23:49

python st python.st在gmail.com
星期四 十二月 27 23:49:30 HKT 2007

×î½üתµ½ÁËubuntuÏ£¬Ð´ÍêµÄ³ÌÐò²âÊÔµÄʱºò¶¼ÒªÔÚÖÕ¶ËÏÂÃæ  chmod a+x
xx.pyÉèÖÃһϳÌÐòµÄ¿ÉÖ´ÐÐȨÏÞ£¬ÏëÎÊһϣ¬ÓÐûÓкõķ½·¨£¿²»ÓÃÉèÖóÌÐòµÄ¿ÉÖ´ÐÐȨÏÞ£¿  ÈÃÎÒÔÚÖÕ¶ËÏÂÃæÖ±½Ó./xxx.py? ÕâÑùÄØ£¿

»¹ÓоÍÊÇÏëʹÓÃulipad±à¼­Æ÷µ«ÊÇÏÂÔØÀ´ÏÂÀ´µÄ²»ÊÇLINUX°æ±¾µÄ£¿ ÊDz»ÊÇÏÂÔØ.zipѹËõ°üÄǸö¾Í¿ÉÒÔÁË£¿ÓÐûÓа²×°µÄ½éÉÜ£¿

wxpython  ²»ÖªµÀ  2.8µÄ¿ÉÒÔ²»¿ÉÒÔ£¿

-- 
PythonÐÂÈË£¬ÕýÔÚ¶ñ²¹PythonÓï·¨£¬Èç¹ûÎÊÌâÖк¬Óа׳յÄÏÖÏ󣬾´ÇëÁ½⡣
Pythonѧϰ½ø¶È£º||||||||||||||||10%||||||||||||||||
Gtalk:python.st在gmail.com
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071227/652d82ed/attachment.htm 

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

2007年12月28日 星期五 00:01

小龙 freefis在gmail.com
星期五 十二月 28 00:01:43 HKT 2007

Çл»µ½ÏàӦĿ¼  È»ºó./ÎļþÃû

ÔÚ07-12-27£¬python st <python.st在gmail.com> дµÀ£º
>
> ×î½üתµ½ÁËubuntuÏ£¬Ð´ÍêµÄ³ÌÐò²âÊÔµÄʱºò¶¼ÒªÔÚÖÕ¶ËÏÂÃæ  chmod a+x xx.pyÉèÖÃһϳÌÐòµÄ¿ÉÖ´ÐÐȨÏÞ£¬ÏëÎÊһϣ¬ÓÐûÓкõķ½·¨£¿²»ÓÃÉèÖóÌÐòµÄ¿ÉÖ´ÐÐȨÏÞ£¿  ÈÃÎÒÔÚÖÕ¶ËÏÂÃæÖ±½Ó./xxx.py? ÕâÑùÄØ£¿
>
> »¹ÓоÍÊÇÏëʹÓÃulipad±à¼­Æ÷µ«ÊÇÏÂÔØÀ´ÏÂÀ´µÄ²»ÊÇLINUX°æ±¾µÄ£¿ ÊDz»ÊÇÏÂÔØ.zipѹËõ°üÄǸö¾Í¿ÉÒÔÁË£¿ÓÐûÓа²×°µÄ½éÉÜ£¿
>
> wxpython  ²»ÖªµÀ  2.8µÄ¿ÉÒÔ²»¿ÉÒÔ£¿
>
> --
> PythonÐÂÈË£¬ÕýÔÚ¶ñ²¹PythonÓï·¨£¬Èç¹ûÎÊÌâÖк¬Óа׳յÄÏÖÏ󣬾´ÇëÁ½⡣
> Pythonѧϰ½ø¶È£º||||||||||||||||10%||||||||||||||||
> Gtalk:python.st在gmail.com
> _______________________________________________
> 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
>



-- 
deSign thE  fuTure
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071228/d3706eb9/attachment.html 

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

2007年12月28日 星期五 00:09

python st python.st在gmail.com
星期五 十二月 28 00:09:56 HKT 2007

ÎÒÖªµÀÕâÑù×ö£¬µ«ÊÇÕâÑù×öµÄÇ°ÌáÊDZØÐëÉèÖÃÒ»ÏÂÎļþµÄ¿ÉÖ´ÐÐȨÏÞ£ºchmod a+x ÎļþÃû
ÎÒµÄÒâ˼ÊDz»Ö´ÐÐÕâÒ»²½  Ö±½Ó½øÐÐ./ÎļþÃû

ÔÚ07-12-28£¬Ð¡Áú <freefis在gmail.com> дµÀ£º
>
> Çл»µ½ÏàӦĿ¼  È»ºó./ÎļþÃû
>
> ÔÚ07-12-27£¬python st <python.st在gmail.com> дµÀ£º
> >
> > ×î½üתµ½ÁËubuntuÏ£¬Ð´ÍêµÄ³ÌÐò²âÊÔµÄʱºò¶¼ÒªÔÚÖÕ¶ËÏÂÃæ  chmod a+x xx.pyÉèÖÃһϳÌÐòµÄ¿ÉÖ´ÐÐȨÏÞ£¬ÏëÎÊһϣ¬ÓÐûÓкõķ½·¨£¿²»ÓÃÉèÖóÌÐòµÄ¿ÉÖ´ÐÐȨÏÞ£¿  ÈÃÎÒÔÚÖÕ¶ËÏÂÃæÖ±½Ó./xxx.py? ÕâÑùÄØ£¿
> >
> > »¹ÓоÍÊÇÏëʹÓÃulipad±à¼­Æ÷µ«ÊÇÏÂÔØÀ´ÏÂÀ´µÄ²»ÊÇLINUX°æ±¾µÄ£¿ ÊDz»ÊÇÏÂÔØ.zipѹËõ°üÄǸö¾Í¿ÉÒÔÁË£¿ÓÐûÓа²×°µÄ½éÉÜ£¿
> >
> > wxpython  ²»ÖªµÀ  2.8µÄ¿ÉÒÔ²»¿ÉÒÔ£¿
> >
> > --
> > PythonÐÂÈË£¬ÕýÔÚ¶ñ²¹PythonÓï·¨£¬Èç¹ûÎÊÌâÖк¬Óа׳յÄÏÖÏ󣬾´ÇëÁ½⡣
> > Pythonѧϰ½ø¶È£º||||||||||||||||10%||||||||||||||||
> > Gtalk:python.st在gmail.com
> > _______________________________________________
> > 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
> >
>
>
>
> --
> deSign thE  fuTure
> _______________________________________________
> 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ÐÂÈË£¬ÕýÔÚ¶ñ²¹PythonÓï·¨£¬Èç¹ûÎÊÌâÖк¬Óа׳յÄÏÖÏ󣬾´ÇëÁ½⡣
Pythonѧϰ½ø¶È£º||||||||||||||||10%||||||||||||||||
Gtalk:python.st在gmail.com
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071228/e33cbeb9/attachment-0001.htm 

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

2007年12月28日 星期五 00:35

Bruce Wang number5在gmail.com
星期五 十二月 28 00:35:59 HKT 2007

On Dec 28, 2007 12:09 AM, python st <python.st在gmail.com> wrote:

> 我知道这样做,但是这样做的前提是必须设置一下文件的可执行权限:chmod a+x 文件名
> 我的意思是不执行这一步  直接进行./文件名
>
>
>
直接用 python  文件名   就可以啦

不需要改文件属性,当然python要在path里面
-- 
simple is good
http://brucewang.net
http://io.brucewang.net
http://twitter.com/number5
skype: number5
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: http://python.cn/pipermail/python-chinese/attachments/20071228/a057a435/attachment.html 

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

2007年12月28日 星期五 06:20

xxmplus xxmplus在gmail.com
星期五 十二月 28 06:20:43 HKT 2007

不改权限不能执行,安全考量吧

On Dec 28, 2007 3:35 AM, Bruce Wang <number5 at gmail.com> wrote:
>
>
> On Dec 28, 2007 12:09 AM, python st <python.st at gmail.com> wrote:
> > 我知道这样做,但是这样做的前提是必须设置一下文件的可执行权限:chmod a+x 文件名
> > 我的意思是不执行这一步  直接进行./文件名
> >
> >
> >
>
> 直接用 python  文件名   就可以啦
>
> 不需要改文件属性,当然python要在path里面
> --
> simple is good
> http://brucewang.net
> http://io.brucewang.net
> http://twitter.com/number5
> skype: number5
> _______________________________________________
> 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
>



-- 
Any complex technology which doesn't come with documentation must be the best
available.

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

2007年12月28日 星期五 08:31

python st python.st在gmail.com
星期五 十二月 28 08:31:55 HKT 2007

лл£¬ÍíÉÏÊÔÊÔ

ÔÚ07-12-28£¬Bruce Wang <number5在gmail.com> дµÀ£º
>
>
>
> On Dec 28, 2007 12:09 AM, python st <python.st在gmail.com> wrote:
>
> > ÎÒÖªµÀÕâÑù×ö£¬µ«ÊÇÕâÑù×öµÄÇ°ÌáÊDZØÐëÉèÖÃÒ»ÏÂÎļþµÄ¿ÉÖ´ÐÐȨÏÞ£ºchmod a+x ÎļþÃû
> > ÎÒµÄÒâ˼ÊDz»Ö´ÐÐÕâÒ»²½  Ö±½Ó½øÐÐ./ÎļþÃû
> >
> >
> >
> Ö±½ÓÓà python  ÎļþÃû   ¾Í¿ÉÒÔÀ²
>
> ²»ÐèÒª¸ÄÎļþÊôÐÔ£¬µ±È»pythonÒªÔÚpathÀïÃæ
> --
> simple is good
> http://brucewang.net
> http://io.brucewang.net
> http://twitter.com/number5
> skype: number5
> _______________________________________________
> 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ÐÂÈË£¬ÕýÔÚ¶ñ²¹PythonÓï·¨£¬Èç¹ûÎÊÌâÖк¬Óа׳յÄÏÖÏ󣬾´ÇëÁ½⡣
Pythonѧϰ½ø¶È£º||||||||||||||||10%||||||||||||||||
Gtalk:python.st在gmail.com
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071228/d646711a/attachment.html 

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

2007年12月28日 星期五 08:49

Jiahua Huang jhuangjiahua在gmail.com
星期五 十二月 28 08:49:14 HKT 2007

1. 如果不想设置权限位直接运行的话,
就改为 python xx.py
不过要变成可执行文件,还是需要加 +x 权限
(如果你只是不想打命令,那就文件管理器里右键,属性 吧)

2. 看起来你缺少个好的 IDE,
2.1 如果你在用记事本之流,却抱怨不好用,请换个好的 IDE。
2.2 如果使用 vim 的话,请安装 vim-full 或至少安装 vim-python , 默认的是 vim-tiny,
再把 vim 配置为好的 python IDE,起码弄好在里边集成调试、doctest 等
2.3  如果不能发挥 vim/emacs 的威力,就别勉强了,
Komodo-Edit/Komodo-IDE、 WingIDE、Eric 也许更加适合你,
起码它们都集成了调试能力,

ubuntu 里可以 sudo apt-get install eric 来安装 Eric IDE


btw: 请木头前辈见谅,真的觉得 ulipad 在 Linux 下不太好用。

On Dec 27, 2007 11:49 PM, python st <python.st at gmail.com> wrote:
> 最近转到了ubuntu下,写完的程序测试的时候都要在终端下面  chmod a+x xx.py
> 设置一下程序的可执行权限,想问一下,有没有好的方法?不用设置程序的可执行权限?  让我在终端下面直接./xxx.py? 这样呢?
>

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

2007年12月28日 星期五 09:03

leopay leopay在gmail.com
星期五 十二月 28 09:03:06 HKT 2007

On Dec 28, 2007 8:49 AM, Jiahua Huang <jhuangjiahua在gmail.com> wrote:

> 1. Èç¹û²»ÏëÉèÖÃȨÏÞλֱ½ÓÔËÐеĻ°£¬
> ¾Í¸ÄΪ python xx.py
> ²»¹ýÒª±ä³É¿ÉÖ´ÐÐÎļþ£¬»¹ÊÇÐèÒª¼Ó +x ȨÏÞ
> (Èç¹ûÄãÖ»ÊDz»Ïë´òÃüÁÄǾÍÎļþ¹ÜÀíÆ÷ÀïÓÒ¼ü£¬ÊôÐÔ °É)
>
> 2. ¿´ÆðÀ´ÄãȱÉÙ¸öºÃµÄ IDE£¬
> 2.1 Èç¹ûÄãÔÚÓüÇʱ¾Ö®Á÷£¬È´±§Ô¹²»ºÃÓã¬Çë»»¸öºÃµÄ IDE¡£
> 2.2 Èç¹ûʹÓà vim µÄ»°£¬Çë°²×° vim-full »òÖÁÉÙ°²×° vim-python £¬ ĬÈϵÄÊÇ vim-tiny£¬
> ÔÙ°Ñ vim ÅäÖÃΪºÃµÄ python IDE£¬ÆðÂëŪºÃÔÚÀï±ß¼¯³Éµ÷ÊÔ¡¢doctest µÈ


vimÊǸö²»´íµÄÑ¡Ôñ:)


>
> 2.3  Èç¹û²»ÄÜ·¢»Ó vim/emacs µÄÍþÁ¦£¬¾Í±ðÃãÇ¿ÁË£¬
> Komodo-Edit/Komodo-IDE¡¢ WingIDE¡¢Eric Ò²Ðí¸ü¼ÓÊʺÏÄ㣬
> ÆðÂëËüÃǶ¼¼¯³ÉÁ˵÷ÊÔÄÜÁ¦£¬
>
> ubuntu Àï¿ÉÒÔ sudo apt-get install eric À´°²×° Eric IDE
>
>
> btw: Çëľͷǰ±²¼ûÁ£¬ÕæµÄ¾õµÃ ulipad ÔÚ Linux ϲ»Ì«ºÃÓá£
>
> On Dec 27, 2007 11:49 PM, python st <python.st在gmail.com> wrote:
> > ×î½üתµ½ÁËubuntuÏ£¬Ð´ÍêµÄ³ÌÐò²âÊÔµÄʱºò¶¼ÒªÔÚÖÕ¶ËÏÂÃæ  chmod a+x xx.py
> > ÉèÖÃһϳÌÐòµÄ¿ÉÖ´ÐÐȨÏÞ£¬ÏëÎÊһϣ¬ÓÐûÓкõķ½·¨£¿²»ÓÃÉèÖóÌÐòµÄ¿ÉÖ´ÐÐȨÏÞ£¿  ÈÃÎÒÔÚÖÕ¶ËÏÂÃæÖ±½Ó./xxx.py? ÕâÑùÄØ£¿
> >
> _______________________________________________
> 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/20071228/1ffc154a/attachment.htm 

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

2007年12月28日 星期五 09:17

Jiahua Huang jhuangjiahua在gmail.com
星期五 十二月 28 09:17:13 HKT 2007

另外,你调试还是测试?

如果不用 IDE 调试的话,
可以执行 pdb scriptfile.py [arg] ...

测试的话,先看看 doctest 吧

On Dec 27, 2007 11:49 PM, python st <python.st at gmail.com> wrote:
> 最近转到了ubuntu下,写完的程序测试的时候都要

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

2007年12月28日 星期五 09:33

Wayne moonbingbing在gmail.com
星期五 十二月 28 09:33:22 HKT 2007

为啥不用eclipse?

在07-12-28,Jiahua Huang <jhuangjiahua at gmail.com> 写道:
>
> 另外,你调试还是测试?
>
> 如果不用 IDE 调试的话,
> 可以执行 pdb scriptfile.py [arg] ...
>
> 测试的话,先看看 doctest 吧
>
> On Dec 27, 2007 11:49 PM, python st <python.st at gmail.com> wrote:
> > 最近转到了ubuntu下,写完的程序测试的时候都要
> _______________________________________________
> 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




-- 
wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://python.cn/pipermail/python-chinese/attachments/20071228/4ec4d3cb/attachment.html 

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

2007年12月28日 星期五 10:32

ssSslang sssslang在163.com
星期五 十二月 28 10:32:15 HKT 2007

"python st" <python.st在gmail.com> writes:

> 最近转到了ubuntu下,写完的程序测试的时候都要在终端下面  chmod a+x
> xx.py设置一下程序的可执行权限,想问一下,有没有好的方法?不用设置程序的可执行权限?  让我在终端下面直接./xxx.py? 这样呢?

zsh: alias -s py=python


-- 
ssSslang

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

2007年12月28日 星期五 13:16

Vingel Lai mail在vingel.com
星期五 十二月 28 13:16:22 HKT 2007

ÎÒÓÃvim£¬ °ó¶¨ÁË , ºÍ¿Õ¸ñ£¬ Ö±½ÓÔËÐС£

On 12/28/07, ssSslang <sssslang在163.com> wrote:
>
> "python st" <python.st在gmail.com> writes:
>
> > ×î½üתµ½ÁËubuntuÏ£¬Ð´ÍêµÄ³ÌÐò²âÊÔµÄʱºò¶¼ÒªÔÚÖÕ¶ËÏÂÃæ  chmod a+x
> > xx.pyÉèÖÃһϳÌÐòµÄ¿ÉÖ´ÐÐȨÏÞ£¬ÏëÎÊһϣ¬ÓÐûÓкõķ½·¨£¿²»ÓÃÉèÖóÌÐòµÄ¿ÉÖ´ÐÐȨÏÞ£¿  ÈÃÎÒÔÚÖÕ¶ËÏÂÃæÖ±½Ó./xxx.py? ÕâÑùÄØ£¿
>
> zsh: alias -s py=python
>
>
> --
> ssSslang
> _______________________________________________
> 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/20071228/2c6ea13d/attachment-0001.html 

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

2007年12月28日 星期五 14:05

python st python.st在gmail.com
星期五 十二月 28 14:05:56 HKT 2007

ÎÒȷʵûÓÐÓÃIDE£¬Ò»Ö±ÔÚΪLINUXϵÄIDE·¸³î£¬Ô­À´Ïë×ÅÓÃeclipse£¬µ«ÊǸоõËû×ã¹»´ó£¬ÏÖÔÚÎÒʹÓõÄÊÇ
Ç°Á½ÌìÓʼþÀïÃæÍƼöµÄ"scribes"Õâ¸ö¶«Î÷ȷʵºÜºÃÓ㬾ÍÊÇÓеã߯СÁË"Îļþä¯ÀÀ"¡¢"±êÇ©"¶¼Ã»ÓУ¬Ò»Ö±Ïë³¢ÊÔÓÃVIM
µ«ÊÇÓÃVIM»¹µÃÒª×ßÒ»¶ÎѧϰµÄ·³Ì£¬Ã»ÓÐÄÇô¶àµÄʱ¼äÈ¥Ñо¿VIM £¬ÔÚBAIDU  GOOGLE
ÀïÃæËÑË÷Á˺öàÌ죬ûÓÐÕÒµ½ºÏÊʵÄVIM´î½¨PY¿ª·¢»·¾³µÄ£¬Èç¹ûÄÄλ¸ßÈËÓеĻ°Çë·Å³öÀ´Ò»·Ý¡£
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071228/789344ad/attachment.html 

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

2007年12月28日 星期五 14:37

Jiahua Huang jhuangjiahua在gmail.com
星期五 十二月 28 14:37:06 HKT 2007

自己选了 scribes 这个玩具就别抱怨啦,
想过得舒服,又不想付出,
就用我提过的 Komodo-Edit/Komodo-IDE、 WingIDE、Eric  吧

ubuntu 里可以 sudo apt-get install eric eric-api-files 来安装 Eric IDE

On Dec 28, 2007 2:05 PM, python st <python.st at gmail.com> wrote:
> 我确实没有用IDE,一直在为LINUX下的IDE犯愁,原来想着用eclipse,但是感觉他足够大,现在我使用的是
> 前两天邮件里面推荐的"scribes"

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

2007年12月28日 星期五 15:20

Dreamingk(天成) dreamingk在gmail.com
星期五 十二月 28 15:20:03 HKT 2007

建议既然在linux下作东西,就习惯下linux下的工具吧,譬如vim emacs
vim还是比较容易学的,你并不需要记住所有的命令,你只要先记住一些简单的就好了,以后慢慢积累,并且等你习惯了vim,那么以后你ssh,远程管理服务器编写脚本都很方便
emacs难一点,不过功能够强大

公司里70%人用vim,20%人用emacs,10%的人用其他的(eclipse等)

On Dec 28, 2007 2:37 PM, Jiahua Huang <jhuangjiahua在gmail.com> wrote:
> 自己选了 scribes 这个玩具就别抱怨啦,
> 想过得舒服,又不想付出,
> 就用我提过的 Komodo-Edit/Komodo-IDE、 WingIDE、Eric  吧
>
> ubuntu 里可以 sudo apt-get install eric eric-api-files 来安装 Eric IDE
>
> On Dec 28, 2007 2:05 PM, python st <python.st在gmail.com> wrote:
> > 我确实没有用IDE,一直在为LINUX下的IDE犯愁,原来想着用eclipse,但是感觉他足够大,现在我使用的是
> > 前两天邮件里面推荐的"scribes"
>
> _______________________________________________
> 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



-- 
Dreamingk (tc, 天成)
    dreamingk(at)gmail.com
    http://python.cn
Exoweb (北京轩辕互动科技有限公司)
Python, I love this language.

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

2007年12月28日 星期五 18:12

python st python.st在gmail.com
星期五 十二月 28 18:12:41 HKT 2007

¶÷  ·Ç³£¸Ðл¡£Ð»Ð»

ÔÚ07-12-28£¬Dreamingk(Ìì³É) <dreamingk在gmail.com> дµÀ£º
>
> ½¨Òé¼ÈÈ»ÔÚlinuxÏÂ×÷¶«Î÷£¬¾ÍÏ°¹ßÏÂlinuxÏµĹ¤¾ß°É£¬Æ©Èçvim emacs
>
> vim»¹ÊDZȽÏÈÝÒ×ѧµÄ£¬Äã²¢²»ÐèÒª¼ÇסËùÓеÄÃüÁÄãÖ»ÒªÏȼÇסһЩ¼òµ¥µÄ¾ÍºÃÁË£¬ÒÔºóÂýÂý»ýÀÛ£¬²¢ÇÒµÈÄãÏ°¹ßÁËvim£¬ÄÇôÒÔºóÄãssh£¬Ô¶³Ì¹ÜÀí·þÎñÆ÷±àд½Å±¾¶¼ºÜ·½±ã
> emacsÄÑÒ»µã£¬²»¹ý¹¦Äܹ»Ç¿´ó
>
> ¹«Ë¾Àï70£¥ÈËÓÃvim£¬20£¥ÈËÓÃemacs£¬10£¥µÄÈËÓÃÆäËûµÄ£¨eclipseµÈ£©
>
> On Dec 28, 2007 2:37 PM, Jiahua Huang <jhuangjiahua在gmail.com> wrote:
> > ×Ô¼ºÑ¡ÁË scribes Õâ¸öÍæ¾ß¾Í±ð±§Ô¹À²£¬
> > Ïë¹ýµÃÊæ·þ£¬ÓÖ²»Ï븶³ö£¬
> > ¾ÍÓÃÎÒÌá¹ýµÄ Komodo-Edit/Komodo-IDE¡¢ WingIDE¡¢Eric  °É
> >
> > ubuntu Àï¿ÉÒÔ sudo apt-get install eric eric-api-files À´°²×° Eric IDE
> >
> > On Dec 28, 2007 2:05 PM, python st <python.st在gmail.com> wrote:
> > > ÎÒȷʵûÓÐÓÃIDE£¬Ò»Ö±ÔÚΪLINUXϵÄIDE·¸³î£¬Ô­À´Ïë×ÅÓÃeclipse£¬µ«ÊǸоõËû×ã¹»´ó£¬ÏÖÔÚÎÒʹÓõÄÊÇ
> > > Ç°Á½ÌìÓʼþÀïÃæÍƼöµÄ"scribes"
> >
> > _______________________________________________
> > 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
>
>
>
> --
> Dreamingk (tc, Ìì³É)
>    dreamingk(at)gmail.com
>    http://python.cn
> Exoweb (±±¾©ÐùÔ¯»¥¶¯¿Æ¼¼ÓÐÏÞ¹«Ë¾)
> Python, I love this language.
> _______________________________________________
> 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ÐÂÈË£¬ÕýÔÚ¶ñ²¹PythonÓï·¨£¬Èç¹ûÎÊÌâÖк¬Óа׳յÄÏÖÏ󣬾´ÇëÁ½⡣
Pythonѧϰ½ø¶È£º||||||||||||||||10%||||||||||||||||
Gtalk:python.st在gmail.com
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071228/e06aa894/attachment.htm 

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

2007年12月29日 星期六 04:26

shhgs shhgs.efhilt在gmail.com
星期六 十二月 29 04:26:02 HKT 2007

vim最大的好处是,用熟之后,基本上都成条件反射了,你要我作什么,我马上就能作,但是你问我按的是哪个键,我反而要想一下才能告诉你。

用vi有门槛。首先你得对键盘熟。那种二指禅的主就算了。此外,你得懂正则表达式。哪种风格的无所谓,反正找一个本regular
expression pocket reference查一下就行了。但是一定要有概念,不能一点都不知道。

vim的起源是vi,这个有比较好的教材。solaris的管理员教材里面有一章,专门讲这个的。你看一下,大约两三页。看过这个之后,就不会打开vi之后,连怎么往上面写东西都不会了。此外,你可以先玩玩ed。vi和ed一脉相承。用过ed之后,你就会知道这个visual怎么来的了。在Unix下,虽然有了sed,ed仍然有其价值,看一下不会吃亏的。

看过这个教材之后,就是用。每天用vi两个小时,windows下面也用。几天的时间,你就会觉得vi比notepad强了。然后是加各种功能。一次编辑多个文件。比如buffer,
window之类的。

这个阶段是两个月吧。这时,你用正则查询替换文本,用多buffer编辑文本也已经驾轻就熟了。这时你会觉得vi比ultraedit强了。

接下来就人言人殊了。vi是高度可定制的编辑器。还句话说,1000个人有1000种用法,即便
Bram Moolenaar也无法预料用户会怎样定制他的编辑器。其实对绝大多数人,你不用去学怎么定制,google一个比较满意的配置,保存起来就行了。如果真的有兴趣,可以help学一下。

Chinaunix上有人说无法理解vim有哪点可取。其实人的大脑是很复杂的。对于我们这种已经能盲打的人来说,Vi的工作效率远远高于那些图形化的编辑器。很多时候,都是所谓的second
nature,连自己都不知道动的哪个手指,字就上去了。这种编辑器,用起来是非常舒服的,因为你的思路不会被打断。


On Dec 28, 2007 5:12 AM, python st <python.st在gmail.com> wrote:
> 恩  非常感谢。谢谢
>
>
> 在07-12-28,Dreamingk(天成) <dreamingk在gmail.com> 写道:
>
> > 建议既然在linux下作东西,就习惯下linux下的工具吧,譬如vim emacs
> >
> vim还是比较容易学的,你并不需要记住所有的命令,你只要先记住一些简单的就好了,以后慢慢积累,并且等你习惯了vim,那么以后你ssh,远程管理服务器编写脚本都很方便
> > emacs难一点,不过功能够强大
> >
> > 公司里70%人用vim,20%人用emacs,10%的人用其他的(eclipse等)
> >
> > On Dec 28, 2007 2:37 PM, Jiahua Huang <jhuangjiahua在gmail.com> wrote:
> > > 自己选了 scribes 这个玩具就别抱怨啦,
> > > 想过得舒服,又不想付出,
> > > 就用我提过的 Komodo-Edit/Komodo-IDE、 WingIDE、Eric  吧
> > >
> > > ubuntu 里可以 sudo apt-get install eric eric-api-files 来安装 Eric IDE
> > >
> > > On Dec 28, 2007 2:05 PM, python st < python.st在gmail.com> wrote:
> > > > 我确实没有用IDE,一直在为LINUX下的IDE犯愁,原来想着用eclipse,但是感觉他足够大,现在我使用的是
> > > > 前两天邮件里面推荐的"scribes"
> > >
> > > _______________________________________________
> > > 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
> >
> >
> >
> > --
> > Dreamingk (tc, 天成)
> >    dreamingk(at)gmail.com
> >    http://python.cn
> > Exoweb (北京轩辕互动科技有限公司)
> > Python, I love this language.
> > _______________________________________________
> > 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新人,正在恶补Python语法,如果问题中含有白痴的现象,敬请谅解。
> Python学习进度:||||||||||||||||10%||||||||||||||||
> Gtalk: python.st在gmail.com
> _______________________________________________
> 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
>

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

2007年12月29日 星期六 08:31

vicalloy zbirder在gmail.com
星期六 十二月 29 08:31:48 HKT 2007

我觉得VIM自带的帮助就不错。
里面有个简单的使用向导,我当初就是看那个学的。

在 07-12-29,shhgs<shhgs.efhilt在gmail.com> 写道:
> vim最大的好处是,用熟之后,基本上都成条件反射了,你要我作什么,我马上就能作,但是你问我按的是哪个键,我反而要想一下才能告诉你。
>
> 用vi有门槛。首先你得对键盘熟。那种二指禅的主就算了。此外,你得懂正则表达式。哪种风格的无所谓,反正找一个本regular
> expression pocket reference查一下就行了。但是一定要有概念,不能一点都不知道。
>
> vim的起源是vi,这个有比较好的教材。solaris的管理员教材里面有一章,专门讲这个的。你看一下,大约两三页。看过这个之后,就不会打开vi之后,连怎么往上面写东西都不会了。此外,你可以先玩玩ed。vi和ed一脉相承。用过ed之后,你就会知道这个visual怎么来的了。在Unix下,虽然有了sed,ed仍然有其价值,看一下不会吃亏的。
>
> 看过这个教材之后,就是用。每天用vi两个小时,windows下面也用。几天的时间,你就会觉得vi比notepad强了。然后是加各种功能。一次编辑多个文件。比如buffer,
> window之类的。
>
> 这个阶段是两个月吧。这时,你用正则查询替换文本,用多buffer编辑文本也已经驾轻就熟了。这时你会觉得vi比ultraedit强了。
>
> 接下来就人言人殊了。vi是高度可定制的编辑器。还句话说,1000个人有1000种用法,即便
> Bram Moolenaar也无法预料用户会怎样定制他的编辑器。其实对绝大多数人,你不用去学怎么定制,google一个比较满意的配置,保存起来就行了。如果真的有兴趣,可以help学一下。
>
> Chinaunix上有人说无法理解vim有哪点可取。其实人的大脑是很复杂的。对于我们这种已经能盲打的人来说,Vi的工作效率远远高于那些图形化的编辑器。很多时候,都是所谓的second
> nature,连自己都不知道动的哪个手指,字就上去了。这种编辑器,用起来是非常舒服的,因为你的思路不会被打断。

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

2007年12月29日 星期六 09:22

樊帆 fanfan19830910在gmail.com
星期六 十二月 29 09:22:25 HKT 2007

这点说的对,emacs也是同理,有人问我怎么退出emacs,我通常会想一会才能说是C-x C-c,但是我按键是非常快,脑子根本就不用想,这和骑自行车同理


> 在 07-12-29,shhgs<shhgs.efhilt在gmail.com> 写道:
> > vim最大的好处是,用熟之后,基本上都成条件反射了,你要我作什么,我马上就能作,但是你问我按的是哪个键,我反而要想一下才能告诉你。
> >
> > 用vi有门槛。首先你得对键盘熟。那种二指禅的主就算了。此外,你得懂正则表达式。哪种风格的无所谓,反正找一个本regular
> > expression pocket reference查一下就行了。但是一定要有概念,不能一点都不知道。
> >
> > vim的起源是vi,这个有比较好的教材。solaris的管理员教材里面有一章,专门讲这个的。你看一下,大约两三页。看过这个之后,就不会打开vi之后,连怎么往上面写东西都不会了。此外,你可以先玩玩ed。vi和ed一脉相承。用过ed之后,你就会知道这个visual怎么来的了。在Unix下,虽然有了sed,ed仍然有其价值,看一下不会吃亏的。
> >
> > 看过这个教材之后,就是用。每天用vi两个小时,windows下面也用。几天的时间,你就会觉得vi比notepad强了。然后是加各种功能。一次编辑多个文件。比如buffer,
> > window之类的。
> >
> > 这个阶段是两个月吧。这时,你用正则查询替换文本,用多buffer编辑文本也已经驾轻就熟了。这时你会觉得vi比ultraedit强了。
> >
> > 接下来就人言人殊了。vi是高度可定制的编辑器。还句话说,1000个人有1000种用法,即便
> > Bram Moolenaar也无法预料用户会怎样定制他的编辑器。其实对绝大多数人,你不用去学怎么定制,google一个比较满意的配置,保存起来就行了。如果真的有兴趣,可以help学一下。
> >
> > Chinaunix上有人说无法理解vim有哪点可取。其实人的大脑是很复杂的。对于我们这种已经能盲打的人来说,Vi的工作效率远远高于那些图形化的编辑器。很多时候,都是所谓的second
> > nature,连自己都不知道动的哪个手指,字就上去了。这种编辑器,用起来是非常舒服的,因为你的思路不会被打断。
> _______________________________________________
> 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

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

2007年12月29日 星期六 10:06

etng etng2004在gmail.com
星期六 十二月 29 10:06:01 HKT 2007

²Î¿¼Îå±ÊºÍÆ´ÒôµÄÇø±ð£¬×¨ÒµµÄÈËÓÃרҵµÄ¹¤¾ß£¬ÅÙ¶¡¹À¼Æ¶¼Íü¼Ç×Ô¼ºÊÜÉËÄõÄÊDz»Êǵ¶ÁË¡£Ö»ÖªµÀ¸ú×ÅËû£¬ÓÐÈâ³Ô¡£

On Dec 29, 2007 4:26 AM, shhgs <shhgs.efhilt在gmail.com> wrote:

> vim×î´óµÄºÃ´¦ÊÇ£¬ÓÃÊìÖ®ºó£¬»ù±¾É϶¼³ÉÌõ¼þ·´ÉäÁË£¬ÄãÒªÎÒ×÷ʲô£¬ÎÒÂíÉϾÍÄÜ×÷£¬µ«ÊÇÄãÎÊÎÒ°´µÄÊÇÄĸö¼ü£¬ÎÒ·´¶øÒªÏëһϲÅÄܸæËßÄã¡£
>
> ÓÃviÓÐÃż÷¡£Ê×ÏÈÄãµÃ¶Ô¼üÅÌÊì¡£ÄÇÖÖ¶þÖ¸ìøµÄÖ÷¾ÍËãÁË¡£´ËÍ⣬ÄãµÃ¶®ÕýÔò±í´ïʽ¡£ÄÄÖÖ·ç¸ñµÄÎÞËùν£¬·´ÕýÕÒÒ»¸ö±¾regular
> expression pocket reference²éһϾÍÐÐÁË¡£µ«ÊÇÒ»¶¨ÒªÓиÅÄ²»ÄÜÒ»µã¶¼²»ÖªµÀ¡£
>
>
> vimµÄÆðÔ´ÊÇvi£¬Õâ¸öÓбȽϺõĽ̲ġ£solarisµÄ¹ÜÀíÔ±½Ì²ÄÀïÃæÓÐÒ»Õ£¬×¨ÃŽ²Õâ¸öµÄ¡£Ä㿴һϣ¬´óÔ¼Á½ÈýÒ³¡£¿´¹ýÕâ¸öÖ®ºó£¬¾Í²»»á´ò¿ªviÖ®ºó£¬Á¬ÔõôÍùÉÏÃæ䶫Î÷¶¼²»»áÁË¡£´ËÍ⣬Äã¿ÉÒÔÏÈÍæÍæed¡£viºÍedÒ»ÂöÏà³Ð¡£ÓùýedÖ®ºó£¬Äã¾Í»áÖªµÀÕâ¸övisualÔõôÀ´µÄÁË¡£ÔÚUnixÏ£¬ËäÈ»ÓÐÁËsed£¬edÈÔÈ»ÓÐÆä¼ÛÖµ£¬¿´Ò»Ï²»»á³Ô¿÷µÄ¡£
>
>
> ¿´¹ýÕâ¸ö½Ì²ÄÖ®ºó£¬¾ÍÊÇÓá£Ã¿ÌìÓÃviÁ½¸öСʱ£¬windowsÏÂÃæÒ²Ó᣼¸ÌìµÄʱ¼ä£¬Äã¾Í»á¾õµÃvi±ÈnotepadÇ¿ÁË¡£È»ºóÊǼӸ÷ÖÖ¹¦ÄÜ¡£Ò»´Î±à¼­¶à¸öÎļþ¡£±ÈÈçbuffer,
> windowÖ®ÀàµÄ¡£
>
> Õâ¸ö½×¶ÎÊÇÁ½¸öÔ°ɡ£Õâʱ£¬ÄãÓÃÕýÔò²éѯÌæ»»Îı¾£¬Óöàbuffer±à¼­Îı¾Ò²ÒѾ­¼ÝÇá¾ÍÊìÁË¡£ÕâʱÄã»á¾õµÃvi±ÈultraeditÇ¿ÁË¡£
>
> ½ÓÏÂÀ´¾ÍÈËÑÔÈËÊâÁË¡£viÊǸ߶ȿɶ¨ÖƵı༭Æ÷¡£»¹¾ä»°Ëµ£¬1000¸öÈËÓÐ1000ÖÖÓ÷¨£¬¼´±ã
> Bram
> MoolenaarÒ²ÎÞ·¨Ô¤ÁÏÓû§»áÔõÑù¶¨ÖÆËûµÄ±à¼­Æ÷¡£Æäʵ¶Ô¾ø´ó¶àÊýÈË£¬Äã²»ÓÃȥѧÔõô¶¨ÖÆ£¬googleÒ»¸ö±È½ÏÂúÒâµÄÅäÖ㬱£´æÆðÀ´¾ÍÐÐÁË¡£Èç¹ûÕæµÄÓÐÐËȤ£¬¿ÉÒÔhelpѧһÏ¡£
>
>
> ChinaunixÉÏÓÐÈË˵ÎÞ·¨Àí½âvimÓÐÄĵã¿ÉÈ¡¡£ÆäʵÈ˵ĴóÄÔÊǺܸ´Ôӵġ£¶ÔÓÚÎÒÃÇÕâÖÖÒѾ­ÄÜä´òµÄÈËÀ´Ëµ£¬ViµÄ¹¤×÷ЧÂÊÔ¶Ô¶¸ßÓÚÄÇЩͼÐλ¯µÄ±à¼­Æ÷¡£ºÜ¶àʱºò£¬¶¼ÊÇËùνµÄsecond
> nature£¬Á¬×Ô¼º¶¼²»ÖªµÀ¶¯µÄÄĸöÊÖÖ¸£¬×Ö¾ÍÉÏÈ¥ÁË¡£ÕâÖֱ༭Æ÷£¬ÓÃÆðÀ´ÊǷdz£Êæ·þµÄ£¬ÒòΪÄãµÄ˼·²»»á±»´ò¶Ï¡£
>
>
> On Dec 28, 2007 5:12 AM, python st <python.st在gmail.com> wrote:
> > ¶÷  ·Ç³£¸Ðл¡£Ð»Ð»
> >
> >
> > ÔÚ07-12-28£¬Dreamingk(Ìì³É) <dreamingk在gmail.com> дµÀ£º
> >
> > > ½¨Òé¼ÈÈ»ÔÚlinuxÏÂ×÷¶«Î÷£¬¾ÍÏ°¹ßÏÂlinuxÏµĹ¤¾ß°É£¬Æ©Èçvim emacs
> > >
> >
> vim»¹ÊDZȽÏÈÝÒ×ѧµÄ£¬Äã²¢²»ÐèÒª¼ÇסËùÓеÄÃüÁÄãÖ»ÒªÏȼÇסһЩ¼òµ¥µÄ¾ÍºÃÁË£¬ÒÔºóÂýÂý»ýÀÛ£¬²¢ÇÒµÈÄãÏ°¹ßÁËvim£¬ÄÇôÒÔºóÄãssh£¬Ô¶³Ì¹ÜÀí·þÎñÆ÷±àд½Å±¾¶¼ºÜ·½±ã
> > > emacsÄÑÒ»µã£¬²»¹ý¹¦Äܹ»Ç¿´ó
> > >
> > > ¹«Ë¾Àï70£¥ÈËÓÃvim£¬20£¥ÈËÓÃemacs£¬10£¥µÄÈËÓÃÆäËûµÄ£¨eclipseµÈ£©
> > >
> > > On Dec 28, 2007 2:37 PM, Jiahua Huang <jhuangjiahua在gmail.com> wrote:
> > > > ×Ô¼ºÑ¡ÁË scribes Õâ¸öÍæ¾ß¾Í±ð±§Ô¹À²£¬
> > > > Ïë¹ýµÃÊæ·þ£¬ÓÖ²»Ï븶³ö£¬
> > > > ¾ÍÓÃÎÒÌá¹ýµÄ Komodo-Edit/Komodo-IDE¡¢ WingIDE¡¢Eric  °É
> > > >
> > > > ubuntu Àï¿ÉÒÔ sudo apt-get install eric eric-api-files À´°²×° Eric IDE
> > > >
> > > > On Dec 28, 2007 2:05 PM, python st < python.st在gmail.com> wrote:
> > > > > ÎÒȷʵûÓÐÓÃIDE£¬Ò»Ö±ÔÚΪLINUXϵÄIDE·¸³î£¬Ô­À´Ïë×ÅÓÃeclipse£¬µ«ÊǸоõËû×ã¹»´ó£¬ÏÖÔÚÎÒʹÓõÄÊÇ
> > > > > Ç°Á½ÌìÓʼþÀïÃæÍƼöµÄ"scribes"
> > > >
> > > > _______________________________________________
> > > > 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
> > >
> > >
> > >
> > > --
> > > Dreamingk (tc, Ìì³É)
> > >    dreamingk(at)gmail.com
> > >    http://python.cn
> > > Exoweb (±±¾©ÐùÔ¯»¥¶¯¿Æ¼¼ÓÐÏÞ¹«Ë¾)
> > > Python, I love this language.
> > > _______________________________________________
> > > 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ÐÂÈË£¬ÕýÔÚ¶ñ²¹PythonÓï·¨£¬Èç¹ûÎÊÌâÖк¬Óа׳յÄÏÖÏ󣬾´ÇëÁ½⡣
> > Pythonѧϰ½ø¶È£º||||||||||||||||10%||||||||||||||||
> > Gtalk: python.st在gmail.com
> > _______________________________________________
> > 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
>



-- 
http://www.etng.net/blog
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071229/dc3f1e7c/attachment.htm 

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

2007年12月29日 星期六 13:29

wu jiyong jiyong.wu在gmail.com
星期六 十二月 29 13:29:05 HKT 2007

真想用好vim,unix/linux是最佳的实践平台。
在window环境,可能连最基本K命令(manprg)都用不了。
熟练使用一些shell命令是必须的,尤其是最基本的ctags。
对于新手,不要会了一些简单的编辑功能,就自足了。要善于学习,不断改进自己。

On  4, shhgs <shhgs.efhilt at gmail.com> wrote:
> vim最大的好处是,用熟之后,基本上都成条件反射了,你要我作什么,我马上就能作,但是你问我按的是哪个键,我反而要想一下才能告诉你。
> 
> 用vi有门槛。首先你得对键盘熟。那种二指禅的主就算了。此外,你得懂正则表达式。哪种风格的无所谓,反正找一个本regular
> expression pocket reference查一下就行了。但是一定要有概念,不能一点都不知道。
> 
> vim的起源是vi,这个有比较好的教材。solaris的管理员教材里面有一章,专门讲这个的。你看一下,大约两三页。看过这个之后,就不会打开vi之后,连怎么往上面写东西都不会了。此外,你可以先玩玩ed。vi和ed一脉相承。用过ed之后,你就会知道这个visual怎么来的了。在Unix下,虽然有了sed,ed仍然有其价值,看一下不会吃亏的。
> 
> 看过这个教材之后,就是用。每天用vi两个小时,windows下面也用。几天的时间,你就会觉得vi比notepad强了。然后是加各种功能。一次编辑多个文件。比如buffer,
> window之类的。
> 
> 这个阶段是两个月吧。这时,你用正则查询替换文本,用多buffer编辑文本也已经驾轻就熟了。这时你会觉得vi比ultraedit强了。
> 
> 接下来就人言人殊了。vi是高度可定制的编辑器。还句话说,1000个人有1000种用法,即便
> Bram Moolenaar也无法预料用户会怎样定制他的编辑器。其实对绝大多数人,你不用去学怎么定制,google一个比较满意的配置,保存起来就行了。如果真的有兴趣,可以help学一下。
> 
> Chinaunix上有人说无法理解vim有哪点可取。其实人的大脑是很复杂的。对于我们这种已经能盲打的人来说,Vi的工作效率远远高于那些图形化的编辑器。很多时候,都是所谓的second
> nature,连自己都不知道动的哪个手指,字就上去了。这种编辑器,用起来是非常舒服的,因为你的思路不会被打断。
> 
> 
> On Dec 28, 2007 5:12 AM, python st <python.st at gmail.com> wrote:
> > 恩  非常感谢。谢谢
> >
> >
> > 在07-12-28,Dreamingk(天成) <dreamingk at gmail.com> 写道:
> >
> > > 建议既然在linux下作东西,就习惯下linux下的工具吧,譬如vim emacs
> > >
> > vim还是比较容易学的,你并不需要记住所有的命令,你只要先记住一些简单的就好了,以后慢慢积累,并且等你习惯了vim,那么以后你ssh,远程管理服务器编写脚本都很方便
> > > emacs难一点,不过功能够强大
> > >
> > > 公司里70%人用vim,20%人用emacs,10%的人用其他的(eclipse等)
> > >
> > > On Dec 28, 2007 2:37 PM, Jiahua Huang <jhuangjiahua at gmail.com> wrote:
> > > > 自己选了 scribes 这个玩具就别抱怨啦,
> > > > 想过得舒服,又不想付出,
> > > > 就用我提过的 Komodo-Edit/Komodo-IDE、 WingIDE、Eric  吧
> > > >
> > > > ubuntu 里可以 sudo apt-get install eric eric-api-files 来安装 Eric IDE
> > > >
> > > > On Dec 28, 2007 2:05 PM, python st < python.st at gmail.com> wrote:
> > > > > 我确实没有用IDE,一直在为LINUX下的IDE犯愁,原来想着用eclipse,但是感觉他足够大,现在我使用的是
> > > > > 前两天邮件里面推荐的"scribes"
> > > >
> > > > _______________________________________________
> > > > 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
> > >
> > >
> > >
> > > --
> > > Dreamingk (tc, 天成)
> > >    dreamingk(at)gmail.com
> > >    http://python.cn
> > > Exoweb (北京轩辕互动科技有限公司)
> > > Python, I love this language.
> > > _______________________________________________
> > > 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新人,正在恶补Python语法,如果问题中含有白痴的现象,敬请谅解。
> > Python学习进度:||||||||||||||||10%||||||||||||||||
> > Gtalk: python.st 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
> >
> _______________________________________________
> 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

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

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

    你的回复:

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

    Zeuux © 2025

    京ICP备05028076号