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

¡¶PythonÓïÑÔÈëÃÅ¡·µÚ¾ÅÕÂÁÙʱС½Ú

ѧϰÁ˵ڰËÕº󣬽ôÂàÃܹĵĿªÊ¼µÚ¾ÅÕµÄѧϰ¡£
ѧϰÁË“Êý¾Ý½á¹¹²Ù×÷”£¬Ñ§Ï°ÁË“Îļþ²Ù×÷”¡£“Êý¾Ý½á¹¹²Ù×÷”»¹±È½ÏÓÐÒâ˼£¬¿´µÃ¶®¡£“Îļþ²Ù×÷”¾Í¿ªÊ¼Í·»è»èµÄ£¬ÏñÄÔ×Ó½øÁ˽¬ºý¡£
ºÃ²»ÈÝÒ׿´µ½“²Ù×÷³ÌÐò”£¬²Å·¢ÏÖ“²Ù×÷³ÌÐò”ÕâÒ»½ÚµÄÄÚÈݲ¢²»ÊÇÎÒËùÏ£Íû¿´µ½µÄÄÚÈÝ¡£
ÎÒÏëÓÃPython×ö°×ºÐ²âÊÔ£¬×Ô¶¯»¯²âÊÔ¡£ÄÇô¾ÍÐèÒªÓÃPythonµ÷Óôý²âÊÔ³ÌÐò¡£Èç¹û²»ÄÜ×öµ½£¬Ñ§Ï°PythonµÄÄ¿µÄ¾Í²»ÄÜ´ïµ½¡£
¶ÁÁË“²Ù×÷³ÌÐò”Ò»½Úºó£¬¶Á²»ÏÂÈ¥ÁË¡£¿ªÊ¼Ñо¿PythonÈçºÎµ÷ÓÃC++¡£
×îºóÔÚSWIGÉÏÕÒµ½Í»ÆÆ¿Ú£¬Ñ§»áÁË×î»ù±¾µÄÓÃSWIG´ò°üC++³ÌÐò£¬È»ºóÓÃPythonµ÷Óõķ½·¨¡£Í¬Ê±Ð´Á˸ö˵Ã÷£¬ÍíЩʱºò»á´«µ½ÍøÂçÉÏÀ´¡£
ѧ»áµÄSWIG»¹Í£ÁôÔÚÑùÀýµÄ´ò°üµ÷ÓÃÉÏ£¬ÕæÊµµÄÏîÄ¿Èí¼þ¿ÉÒÔµ÷ÓÃÂð£¿ÓÚÊÇ¿ªÊ¼ÁËÏîÄ¿Èí¼þµÄÑо¿¡£Ãæ¶ÔÅÓ´ó¸´ÔÓµÄÏîÄ¿´úÂë£¬ÕæµÄûÓжàÉÙÐÅÐİÑSWIGÓ¦ÓÃÉÏÈ¥¡£×ö°×ºÐ²âÊÔ£¬Æð²½Ê±Ó¦¸ÃÓÃÏàͬµÄÓïÑÔµ÷ÓÃͬһÖÖÓïÑÔдµÄ´úÂë¡£
ÕýÔÚÕâ¸öʱºò£¬¿´ÁËAPI²âÊÔµÄÎÄÕ¡£ÓÚÊdz¢ÊÔÁËÄں˵ĽӿڲâÊÔ......
½²ÁËÕâô¶à£¬Ô½½²Ô½Æ«ÌâÁË¡£
ÎÒµÄÒâ˼ÊÇ£¬µÚ¾ÅÕµÄѧϰÒò´ËÍ£ÖÍÁËÒ»¶Îʱ¼ä¡£
¶øC++ºÍPythonµÄ½»»¥Ñ§Ï°Ê¹Óã¬È·Êµ´øÀ´Á˲»ÉÙÂé·³¡£½ñÌìÎÒ´ò¿ª¡¶PythonÓïÑÔÈëÃÅ¡·£¬·¢ÏÖPythonÊÇÈç´ËµÄİÉú¡£
ÉÏO'ReillyµÄÖÐÎÄÍøÒ³£¬·¢ÏÖ¡¶PythonÓïÑÔÈëÃÅ¡·ÓеھÅÕº͵ÚʮյÄPDFÌṩ¡£Õâ¸öPDF±ÈÎÒµ±Ç°µÄɨÃè°æPDFÇåÎú¶àÁË£¬¿´ÆðÀ´Êæ·þ¶àÁË¡£
»ùÓÚ¶ÔPythonµÄİÉú¸Ð£¬µÚ¾ÅÕ»¹ÊÇ´Ó¶ÁÒ»±é°É¡£±¾À´“Îļþ²Ù×÷”Ò»½Ú¾ÍûÓÐѧºÃ¡£ 


Ïà¹ØÎĵµ£º

python PIL ÅúÁ¿´¦Àí´¦ÀíͼƬ

¿Í»§¸øÒ»¶ÑͼƬҪ´«µ½ºǫ́£¬Í¼Æ¬Ì«´óÁË£¬ÉϰÙÕÅͼÓÃphotoshop¸ÄÌ«Âý£¬¾ÍÏëµ½ÓÃpythonд¸ö¼òµ¥µÄÅú´¦Àí¡£¹¦Äܼòµ¥¾ÍÊǰÑԭͼ°´±ÈÀýËõС£¬´úÂë¸ü¼òµ¥ 20¶àÐС£
# -*- coding: cp936 -*-
import Image
import glob, os
#ͼƬÅú´¦Àí
def timage():
for files in glob.glob('D:\\1\\*.JPG'):
filepath,filena ......

PythonÄÚ½¨º¯ÊýÖ®——filter,map,reduce

     ÔÚ½²Êöfilter£¬mapºÍreduce֮ǰ£¬Ê×ÏȽéÉÜÒ»ÏÂÄäÃûº¯Êýlambda¡£
     lambdaµÄʹÓ÷½·¨ÈçÏ£ºlambda [arg1[,arg2,arg3,...,argn]] : expression
     ÀýÈ磺
     >>> add = lambda x,y : x + y
>>> add ......

python ºËÐıà³Ìѧϰ±Ê¼Ç(µÚ3ÕÂ) ¶ÔÓ¦Let's

Python»ù´¡(chapter3)
1 setence and syntaxÓï¾äºÍÓï·¨
1.1 #ΪעÊÍ·ûºÅ
1.2 \nÊDZê×¼Ðзָô·û, ͨ³£Ò»¸öÓï¾äÒ»ÐÐ
1.3 ·´Ð±Ïß\±íʾÏÂÒ»ÐмÌÐø, ÓÃÀ´½«µ¥ÌõÓï¾ä·ÅÈë¶àÐÐ…¾¡Á¿Ê¹ÓÃÀ¨ºÅ´úÌæ
1.4 ·ÖºÅ;±íʾ½«Á½¸öÓï¾äÁ¬½ÓÔÚÒ»ÐÐÖÐ…²»Ìᳫ
1.5 ðºÅ:±íʾ½«´úÂë¿éµÄÍ·ºÍÌå·Ö¿ª
1.6 Óï¾ä(´úÂë¿é)ÓÃËõ½ø¿é·½Ê½ ......

pythonѧϰ

     ÔÚpythonÖУ¬ÈκÎÊý¾ÝÀàÐͶ¼ÊÇ“¶ÔÏ󔣬°üÀ¨pythonÌṩµÄÄÚÖöÔÏó£¬Ò²°üÀ¨Óû§Í¨¹ýpythonÓïÑÔ»òÕßCÀ©Õ¹¿â´´½¨µÄ¶ÔÏó¡£
     pythonµÄ¶ÔÏóÊǶ¯Ì¬ÀàÐÍ£¬¶øÇÒÊÇÇ¿ÀàÐÍ£¬ÕâÒâζ×ÅÖ»ÓÐÀàÐÍÆ¥ÅäµÄʱºò²ÅÄܽøÐÐÏàÓ¦µÄ²Ù×÷¡£ÏÖÔÚ£¬ÎÒÃÇÀ´Ñ§Ï°pythonµÄÄÚÖöÔÏó£¬pythonµÄÄ ......

Python±Ê¼Ç£¨Ò»£©——C/C++µ÷ÓÃpython

×î½üÒòΪÑо¿Ò»¸ö¶«Î÷£¬²¢ÇÒÔںܾÃÒÔǰ¾ÍÏë°ÑpythonºÃºÃ¿´¿´¡£ÕýºÃÂú×ãÎ񵀼̮æÐÄ¡£ÎÒÿÌìÉϰà×öµÃÓÎÏ·¶¼ÊÇÓÃlua£¬Ò²ÊÇÒ»ÃźÜÇ¿´óµÄ½Å±¾ÓïÑÔ¡£¿ÉÄÜÎÒ¸üϲ»¶pythonµÄËõ½øÇø·ÖºÍÃæÏò¶ÔÏó°É¡£ ½ñÌìֻдһ¸ö¼òµ¥µÄÀý×Ó¡£Ò»¸ö¼òµ¥µÄpython½Å±¾£¬¾ÍÒ»¸öº¯Êý£¬ÓÃC/C++È¥µ÷Ó᣿ÉÄÜÕâÒ²ÊÇ×÷Ϊ³ÌÐòÀ´Ëµ×î¹ØÐĵÄÒ»¼þÊ¡£ËùÒÔÎÒµÄpytho ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ