Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÎÒÓ¦¸ÃÑ¡Ôñperl»¹ÊÇpython»¹ÊÇÆäËû°¡ лл

ÎÒµÄÑо¿·½ÏòÊÇÖÐÎÄÐÅÏ¢´¦ÀíÖеÄÎı¾·ÖÀàÏà¹ØµÄ¶«¶«
ÔÙ¾ßÌåÒ»µã¾ÍÊÇÎı¾ÇãÏòÐÔ£¬Çé¸Ð·ÖÀàÖ®ÀàµÄ¶«¶«¡£¡£¡£¡£
ÏëѧһÃŽű¾ÓïÑÔÀ´±à³Ì¡£¡£¡£
Ï£Íû´ó¼Ò°ïæÍƼöһϰ¡ лл
Õâ¶ÔÎÒÀ´ËµºÜÖØÒªµÄ
Ó¦¸Ã¶¼ÐУ¬ÎÞËùν£¡¿´ÄãÈÏΪÄĸö¼òµ¥£¡

Ó¦¸Ã¶¼¿ÉÒÔµÄ,¿´×Ô¼º~~

¸öÈËÍƼöPython£¬Ã»±ðµÄ£¬¼òµ¥ÊµÓá£

ϲ»¶¼ò½àÑ¡Perl
ϲ»¶¹æ·¶Ñ¡Python

×Ô¼º¶¥

Á½¸ö¶¼²»´í

ÓÃlinux¾Íperl²»ÓþͶ¼ÐС£

Äã¿´¿´perl µÄ¼ªÏéÎï¾ÍÖªµÀ£¬perlÊÇÎÞ±ÈÇ¿´óµÄ¡£

http://www.china-pub.com/209139

http://www.china-pub.com/48392

¶¥ÉÏÈ¥

¿ÉÒÔ¶¼Ñ§Ò»Ñ§£¬È»ºó£¬Äã¾ÍÖªµÀ×Ô¼ºÏ²»¶ÄÄÒ»¸ö¡£Ñ§Ï°Õ߶«Î÷£¬²»Å¶ࡣ

ruby

python

µ±È»ÊÇPERL


ÓÈÆäÊÇÎı¾´¦Àí

Îı¾´¦Àíµ±È»ÊÇPerl

ºÎÒÔ½âÓÇ£¬Î¨ÓÐpython

Äãµ½µ×ÍƼöÄĸöѽ^_^

ÒýÓÃ
ºÎÒÔ½âÓÇ£¬Î¨ÓÐpython


ÓÃpython°É£¬Äã»áϲ»¶µÄ

ÍƼöpython£¬¼ò½à¡¢´¦ÀíÎı¾µÄ¹¦ÄÜÇ¿´ó¾ù²»ÑÇÓÚperl£¬¶øÇÒÖ§³ÖOO£¬ÓÐÀûÓÚ´óÐÍÈÎÎñ

ÓÃpython°É£¬Ñ§ºÃÁËÄÜ×öºÜ¶àÊÂ
perlʵÔÚÊÇÌ«¹îÒìÁË

Perl£¬Ö»ÓÐPerl²ÅÊÇ´¦ÀíÎı¾µÄÀûÆ÷£¬ºÇºÇ¡£

Õâ¸ö¾Í¿´Äã,¾«Í¨Ò»ÃÅ,ÆäËü¶¼ÊÇ´¥ÀàÅÔͨµÄ.

ÒýÓÃ
¿ÉÒÔ¶¼Ñ§Ò»Ñ§£¬È»ºó£¬Äã¾ÍÖªµÀ×Ô¼ºÏ²»¶ÄÄÒ»¸ö¡£Ñ§Ï°Õ߶«Î÷£¬²»Å¶ࡣ

¿ÉÒÔÏÈdz³¢éüÖ¹£¬µ÷³öϲ»¶µÄºóÉîÈë½ø¹¥

perl,python,shell,lua,ÉõÖÁphp(cmd line·½Ê½µÄ)¶¼¿ÉÒÔÁË
ÎÒµÄ×ÊÔ´ÖÐÓм¸¸öÀý×Ó


Ïà¹ØÎÊ´ð£º

python½Ì³ÌÖÐʹÓÃÔ´ÎļþµÄÎÊÌâ~~

ʹÓÃÔ´Îļþ

#!/usr/bin/python
# Filename : helloworld.py
print 'Hello World'

ÎÒÔõôҲ¿´²»¶®£¡Ö»ÊÇ×îºóÒ»ÐÐÎÒÖªµÀ~~Ç°ÃæÁ½ÐÐÊÇʲôÒâ˼ÄØ£¿
½Ì³ÌÉÏ˵Èç¹ûÄãʹÓÃIDLE£¬ÇëʹÓò˵ ......

PythonÖÐÎÄ´¦Àí£¬Íê³É¹¦ÄܵÄʵÓû¯

±¾ÎÄÕª×Ô¡¶¿É°®µÄPython¡·¡°¹âÅ̹ÊÊ¡±CDay-1 ʵÓû¯ÖÐÎÄ¡£
[img]http://t.douban.com/mpic/s3901817.jpg[/img]
CDay-1 ʵÓû¯ÖÐÎÄÖÐÎÄ´¦Àí£¬Íê³É¹¦ÄܵÄʵÓû¯
ÄãÅöµ½99%µÄÎÊÌ⣬ÆäËûÈË֮ǰÒѾ­Óöµ½¹ýÁË£¬Ë ......

PythonÖеÄUnicodeÔÚDelphiÈçºÎ»¹Ô­³ÉGb2312£¿

ÒÑÖªPython ÖУº
s = unicode("²âÊÔ", "gb2312")
s = u'\u6d4b\u8bd5'
print s
²âÊÔ

ÔÚDelphiÀïÃæÈçºÎ½«\u6d4b\u8bd5ÕâÑùµÄ»¹Ô­³ÉGb2312µÄºº×ÖÄØ£¿
ÕÒµ½¸ö·½·¨
......

³ÏÕÐPython³ÌÐòÔ±²ÎÓë¼ÆËã»úÊé¼®³ö°æ

ÓźñµÄ¸å³ê£¬³ÏÕÐPython¼¼ÊõÈËÔ±²ÎÓë¸÷ÖÖ¼¼ÊõÊé¼®³ö°æ¡£ 
ͨ¹ý¸ÃÊé¼®£¬×÷Õß¿ÉÒԵõ½Èçϱ¨³ê£º 
1¡¢·áºñµÄ¸å³ê¡£ 
2¡¢Êé¼®Öø×÷µÄÊðÃûȨ¡£ 
3¡¢¶Ô×÷ÕߺÍÊé½øÐÐÐû´«£¬Ìá¸ß×÷ÕßÔÚ¼¼ÊõȦ×ÓÀ ......

python»ù´¡ÎÊÌ⣬Çë½Ì¸ßÊÖ¡£

ÇëÎʸßÊÖ£¬ÎÒÓõÄÊÇpythonwin2.5µÄ°æ±¾£¬ÔÚ¿ª·¢µÄ¹ý³ÌÖÐÓöµ½ÁËÏÔʾÖÐÎÄÂÒÂëµÄÎÊÌâºÜÍ·ÌÛ£¬Çë¸ßÊִͽ̡£
¼òµ¥µÄ´úÂëÈçÏ£¬±£´æµÄÎļþÃûÊÇÓ¢Îĵģ¬ÎÒÊÇÓÃpythonwinн¨µÄ½Å±¾£¬±£´æµÄʱºòÑ¡ÏîÀïûÓбàÂëÑ¡ÏÔËÐк ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ