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

¹ØÓÚPythonµÄ»ù´¡ÎÊÌâ¡­¡­

ÏëÎÊÁ½¸öÎÊÌ⣺
1¡¢Python¼ÈÈ»ÊǹéÊôÓڽű¾ÓïÑÔ£¬ÄÇôÔÚʲôƽ̨ÏÂÔËÐУ¿
£¨vb script£¬JAVA script£¬php¶¼ÊôÓڽű¾ÓïÑÔÖÖÀ࣬¶¼ÊÇÓÃÓÚÍøÒ³½Å±¾£¬ÄÇôPythonͨ³£ÓÃÔÚÄÄÀïÄØ£¿£©
2¡¢PythonÄÜ·ñÔÚÈû°àV3°æ±¾Ï±àÒëÔËÐУ¿
£¨ÔÚÍøÉÏ¿´µ½*.pyÎļþ¿ÉÒÔÔËÐÐÔÚS60ÊÖ»úÉÏ£¬ÈçºÎ½øÐбàÒëÔËÐÐÄØ£¿£©

˳±ãÎÊһϣ¬Ë­ÓÐPython3.xÒÔÉϵÄÖÐÎÄ°æ½Ì³Ì£¬ÄÜ·ñ·¢ÎÒÒ»·Ý£¿

ÎÒµÄÓÊÏäÊÇ£ºloveyou0131@vip.qq.com

ÕâÀïлл´ó¼ÒÁË¡£
pythonÓÃÓںܶàµØ·½...
¶àÓÃ×÷Õ³ºÏ¼Á(¿çÓïÑÔ)...

µ«ÊÇ, Îҵľ­ÑéÊÇ: ÕⶫÎ÷ʵÔÚ·½±ã, д¸ö²âÊÔʲôµÄ, ¼òÖ±ÊǷdz£·½±ã, µ«ÊÇ, pythonÐèÒª·Ç³£ÔúʵµÄ²Ù×÷ϵͳ, ÍøÂçµÈµ×²ãµÄ¶«Î÷, µ±È», Äã²»»áÕâЩҲÄÜѧ"»á"python, ÈçÎÒÏÖÔÚÒ»Ñù, ÎÒÊÖÀïµÄpythonÏÖÔÚÖ»ÊÇÒ»¸ö×ÔÐгµ, µ«ÊÇ, µ±¶Ô²Ù×÷ϵͳ, ÍøÂçµÈ·½ÃæÓнÏÉîµÄÔìÒèÖ®ºó, ÏàÐÅÕâ»á±ä³Éº½Ä¸µÄ.

ÔÙÀ´»Ø´ðÄãµÄÎÊÌâ.

pythonºÍjavaÓпɱÈÖ¸³ö, javaÓÃjvm¿çƽ̨, pythonÖÐÊǽâÊÍÆ÷....ÓÐpython½âÊÍÆ÷µÄµØ·½¶¼¿ÉÒÔÔËÐÐpythonµÄ³ÌÐò

pythonµÄÓÃ;¹ã·º£¬×ÀÃæÓ¦Óã¬web¿ª·¢£¬ÓÎÏ·£¬ÍøÂçͨѶ£¬¿Æѧ¼ÆËãµÈ¶¼Óй㷺ӦÓá£
Èû°às60ÉÏÏÖÔÚÒ²Ö§³ÖpythonÁË¡£
python 3.*µÄ×ÊÁÏûÓУ¬µ«ÍøÉÏ2.*µÄ×ÊÁÏÒ»´ó°Ñ¡£

Python¼¸ºõÄÜÔÚËùÓеÄƽ̨ÏÂÔËÐÐ

ÕæÕýµÄÎäÁÖ¸ßÊÖ——·É»¨ÕªÒ¶Òà¿ÉÉËÈË£¬Python¾ÍÊÇÄÇ»¨ºÍÒ¶£¬ÖÊÆÓ¡¢¼òµ¥£¬È´ÍþÁ¦Ç¿´ó¡£ÆÚ´ýPyPyµÄ³É¹¦£¬ÄÇÑùPython¾ÍÎÞµÐÁË

¸Õ¿ªÊ¼Ñ§Ï°python¡£¡£
°ï¶¥¡£

PythonºËÐľÍÊÇC

ºÜ¶à½Å±¾ÓïÑÔ»ù±¾¶¼ÊÇC/C++µÄÓ¦Ó㬻áÓÐÒ»¸öºËÐÄÖ´ÐÐÒýÇæ¡£

1. ÄÜÔËÐÐpythonÐéÄâ»úµÄµØ·½¾Í¿ÉÒÔÓÃpython£¬python


Ïà¹ØÎÊ´ð£º

pythonÖÐÏß³ÌÎÊÌ⣿£¿

ÎÒÏÖÔÚÊÇÕâÑùµÄ
¿ªÁËÒ»¸ö×ÓỊ̈߳¬¶ÁÈ¡ÏÂÃæµÄÏûÏ¢
±¾ÒâÊÇ
Python code:

while not self._stopevent.isSet( ):
re=¶ÁȡϲãÏûÏ¢
if re>0:
´¦Àí
else:
pass

¼ÙÈ ......

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

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

python ÅÀÈ¡ÍøÒ³ÊdzöÏֵĴíÎó

´úÂë:
    timeout = 10
    socket.setdefaulttimeout(timeout)
    sock = urllib2.urlopen(url)
    html = sock.read()
Ò»°ãÇé¿öÄÜÐУ¬ÔËÐÐûÎÊÌ⣠......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ