Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : Python

Python±à³ÌÎÊÌ⣬¿ÒÇë¸ßÊÖ½â»ó

×î½üÃÔÉÏÁËPython£¬ÔÚ˼¿¼ÔõÑùÓÃPythonд¸ö³ÌÐòʵÏÖ¶ÔÖ¸¶¨ÍøÂç¶Ë¿ÚµÄÊý¾Ý°üµÄץȡºÍ½âÎö£¬¿ÒÇë¸ßÊÖÖ¸½Ì£¡£¡

ÄãºÃ£¡
Ê×ÏÈ£¬ÊµÏÖ²¶°üµÄ¹¦ÄÜÐèҪʹÓÃwincap£¨windowsÏ£©£¬»òÕßlibpcap£¨LinuxÏ£©¡£
¶øPythonÌṩÁ˼¸¸ölibpcap bind£¬²»È磺http://monkey.org/~dugsong/pypcap/£¬ÕâÀïÓÐÒ»¸ö×î¼òµ¥µÄ¡£
ÔÚwindowsƽ̨ÉÏ,Ä ......

Python×¥°üºÍ°ü½âÎö´úÂëµÄ±àд

ÄÄλǰ±²¿ÉÒÔ¸øÎÒ¸öPythonдµÄ¡¾¿ÉÔËÐеÄÔ´´úÂë¡¿£¬ÊµÏÖÒÔϹ¦ÄÜ£º
  1.¶ÔÖ¸¶¨¶Ë¿ÚµÄ¼àÌý²¢½ØÈ¡¡¾Ö¸¶¨¡¿Êý¾Ý°ü
  2.Äܶԡ¾×Ô¼º¶¨ÒåµÄ¡¿Ð­Òé°ü½øÐнâÎö
Íò·Ö¸Ðл£¡£¡£¡

ÎÒÀ´¶¥ thy38

ѧϰÁË£¡ÎÒÒ²ÕýºÃÓÐÓÃ

¸ãÕâ¸ö¸ÉÂïÓ𡣿£¿£¿£¿£¿£¿£¿£¿£¿

ºÙºÙºÙ~~

¸Ðлthy38£¬Ç°±²¹¦Á¦Ö®ÉîÈÃÎÒ ......

¡¾ÇóÖú¡¿C++ÈçºÎ²¶»ñPythonÖеÄÒì³£

C++Öе÷ÓÃpythonº¯Êý£¬·¢ÏÖpythonº¯ÊýµÄÒì³£ÔÚC++ÖÐÎÞ·¨²¶»ñ¡£
µ÷Óú¯ÊýÈçÏ£¬Çë´óÏÀ½â»ó
unsigned long CPythonHelper::Execute(const std::string& mml_cmd,
  unsigned char flag,
  bool is_quick_cfg,
  ......

ÈçºÎ½«Ò»¶ÎPython´úÂëÉú³É¿â

ÈçºÎ½«PythonдµÄÒ»¶Î´úÂëÉú³ÉpydÐÎʽµÄ¿â?
ÎÒÖªµÀµÄ·½·¨ÓУº½«Õâ¶ÎPython´úÂëÀ©Õ¹³ÉC´úÂ룬Ȼºóͨ¹ýVC½«Õâ¶ÎC´úÂëÉú³Éºó׺Ϊ.pydµÄ¶¯Ì¬Á´½Ó¿â¡£
²»ÏëÓÃÕâô±¿µÄ·½·¨£¬ÇëÎÊÓÐûÓбȽϼòµ¥µÄ·½·¨£¿Ð»Ð»£¡
¶¥Ò»Ï£¬¹Ø×¢ÖÐ

»¹ÕæûʲôºÃ°ì·¨£¬pydÆäʵ¾ÍÊÇdll

Ö»ÖªµÀpyc

°¥£¬¿´À´Ö»ÄÜÓñ¿·½·¨ÁË

2樓ÐÖµÜ&# ......

ÇóÖúpython£¬map filter

map£¬filter·½·¨Ó¦¸Ã»á·µ»ØÒ»¸öÁÐ±í¡£
µ«ÊÇÔÚÎÒÕâÀËüÃÇ×ÜÊÇ·µ»Ø£º
<map object at 0x0000000002A2C978>
<filter object at 0x0000000002A2C9E8>
ÎÒÓõÄpython3.1£¬ Õâ¸öÒ²ÊÇ°æ±¾µÄ±ä¶¯µ¼ÖµÄÂð£¿

def map_func(lis):
  return lis + 1
li = [1,2,3,4,5]
map_l = map(map_func, li) #½«liÖ ......

PythonÐÂÊÖ±¨µ½ ´ó¼ÒÍƼö¸öIDE

×î½üÒ»¸öÏîÄ¿ÂíÉϾÍÒªÓÃPython±àÁË ´ó¼ÒÍƼö¸öIDE¡£¡£¡£
1 Ãâ·Ñ¡£¡£¡£
2 Ìå»ý×îºÃСһµã
3 ¹¦ÄÜÇ¿´ó
£¨ÅÅÃû²»·ÖÏȺ󡣡£¡£·Ï»°¡£¡££©

emacs,×î´óµÄÓŵãÊÇÒòΪ·ÇͼÐνçÃ棬ÓÃSSHÔ¶³ÌµÇ¼Ҳ¿ÉÒÔʹÓá£ËùÒÔ¿ÉÒÔÓÃÊÖ»ú¼ÓSSHÖÕ¶ËÔÚÈκεط½±à³Ì¡£

VIM ²»´í

Çá±ãµÄ»°£¬ÍƼöʹÓÃgeany£¬¾ø¶ÔÊÇ¡®ÇᡯÁ¿¼¶µÄ£¬µ«Êǹ¦Äܲ ......
×ܼǼÊý:175; ×ÜÒ³Êý:30; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [1] 2 [3] [4] [5] [6] [7] [8] [9] [10]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ