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

[zt]PythonÍøÂ繤¾ß°ü

PythonÍøÂ繤¾ß°ü
coNCePTuaL coNCePTuaL is a tool designed to facilitate rapidly generating programs that measure the performance and/or test the correctness of networks and network protocol layers. coNCePTuaL centers around a simple, domain-specific programming language; a few lines of c... ¹Ù·½ÍøÕ¾: http://www.c3.lanl.gov/~pakin/software/conceptual/ 2009-06-01
Pydhcplib Pydhcplib ÊÇÒ»¸öÓÃÀ´¶ÁдºÍ´¦Àí DHCP °üµÄ Python ¿â¡£... ¹Ù·½ÍøÕ¾: http://pydhcplib.tuxfamily.org/ 2009-06-01
Medusa A high-performance, extensible Internet server framework.... ¹Ù·½ÍøÕ¾: http://www.nightmare.com/medusa/ 2009-06-01
dnspython dnspython ÊÇDNSЭÒéµÄÒ»¸öPython¿ªÔ´ÊµÏÖ¡£... ¹Ù·½ÍøÕ¾: http://freshmeat.net/projects/dnspython/ 2009-06-01
Beyond 2 Beyond 2ÊÇÏòÍøÂçÐéÄâÊÀ½çµÄͳһƽ̨Âõ³öµÄÖØÒªÒ»²½¡£×÷Ϊһ¸ö¿ªÔ´ÏµÍ³£¬Ëü¿ÉÒÔ¼Ó¿ìÄÇЩÐéÄâÊÀ½çÏîÄ¿µÄ¿ª·¢¹¤×÷¡£Beyond½¨Á¢ÔÚÁíÒ»¸ö¿ªÔ´ÏîÄ¿—— Twisted ÍøÂç·þÎñÆ÷[Leftkowitz02]Ö®Éϲ¢¶ÔÆä¼ÓÒÔÀ©Õ¹£¬´Ó¶øÊ¹ÈÎÒâÊýÁ¿µÄÈýά¿Í»§¶Ë¶¼¿ÉÒÔÁ¬½Óµ½Ò»¸ö¹²Í¬µÄ·ÂÕæ¿ò¼ÜÉÏ¡£Beyond »¹ÌṩÁËÒ»¸ö¿Í»§¶ËµÄ²Î¿¼ÊµÏÖ£¬ËüʹÓÃÁË¿ªÔ´ÈýάÒýÇæÐÇÔÆÉ豸£¨Nebula Device£©[Nebula02]¡£·þÎñ¶Ë¡¢¿Í»§¶ËºÍ·ÂÕæ²ã¹²Í¬Îª´´½¨ÐÂÓÎÏ·ÌṩÁËÒ»¸ö»ùʯ¡£... ¹Ù·½ÍøÕ¾: http://www.asbahr.com/beyond.html 2009-06-01
Twisted Matrix Twisted Matrix ÊÇÒ»ÖÖÔ½À´Ô½ÊÜ»¶Ó­µÄ´¿ Python ¿ò¼Ü£¬ÓÃÀ´½øÐÐÍøÂç·þÎñºÍÓ¦ÓóÌÐòµÄ±à³Ì¡£ËäÈ» Twisted Matrix ÖÐÓдóÁ¿ËÉÉ¢ñîºÏµÄÄ£¿é»¯×é¼þ£¬µ«¸Ã¿ò¼ÜµÄÖÐÐĸÅÄÊÇ·Ç×èÈûÒì²½·þÎñÆ÷Õâһ˼Ïë¡£ÔÚ±¾ÎÄÖУ¬David ÏòÄú½éÉÜÁËÒ»ÖÖбà³Ì·ç¸ñ£¬¶ÔÓÚϰ¹ßÓÚÏ̼߳¼Êõ»ò·Ö²æ·þÎñÆ÷µÄ¿ª·¢ÈËÔ±À´Ëµ£¬ÕâÊÇÒ»ÖÖÐÂÓ±µÄ±à³Ì·ç¸ñ£¬µ«ËüÈ´ÄÜÔÚ·±ÖظºÔصÄÇé¿öÏ´øÀ´¼«¸ßµÄЧÂÊ¡£... ¹Ù·½ÍøÕ¾: http://twistedmatrix.com/ 2009-06-01
SendPkt SendPkt ÊÇÒ»Ì×ͬʱ¿ÉÒÔÔËÐÐÔÚLinux/Win32µÄ·¢ËÍÁ´Â·²ãÊý¾Ý°üµÄPythonÀ©Õ¹¿â¡£ SendPktÔÚLinuxºÍWin32ÏÂʵÏÖ·½Ê½ÊDz»Í¬µÄ£¬µ«ÊÇÌṩ¶ÔPythonµÄÏàͬ½Ó¿Ú£¬È·±£Python³ÌÐò¿ÉÒÔ²»¾­¹ýÐ޸ľͿÉÒÔÒÆÖ²¡£ÔÚWin32ÏÂSendPktʹÓÃWinPcap?ÖÐµÄ pcap_sendpacket() º¯Êý·¢ËÍÊý¾Ý°ü¡£ÔÚLinuxÏÂSendPktʹÓÃlibnetµÄ libnet_adv_write_link() º¯Êý·¢ËÍÊý¾Ý°ü¡£Í¬Ê±SendPkt»¹ÌṩÁ˲éÕÒÍøÂç½Ó¿ÚÉ豸µÄ¹¦ÄÜ£¬ÒÔ¹©·¢ËÍ... ¹Ù·½Í


Ïà¹ØÎĵµ£º

ѧϰ¡¶PythonÓïÑÔÈëÃÅ¡·µÚËÄÕ º¯Êý


ÔõôÕÒ²»µ½µÚÈýÕµÄѧϰ±Ê¼ÇÁË£¿¶ªÁË£¿
PythonµÄº¯ÊýûÓÐʲôµÄ£¬¿ÉÒÔ˵£¬¿´ÁË¡¶¼òÃ÷Python½Ì³Ì¡·ºó£¬¾Í»áдÁË¡£
ÕâÒ»ÕÂÌṩµÄÄÚÈÝÒ²±È¡¶¼òÃ÷Python½Ì³Ì¡·Òª¶àһЩ¡£±È½Ï¸´ÔÓµÄÊÇ×÷ÓÃÓò¹æÔò£¬²»ÖªµÀÊÇÊéû½²Çå³þ»¹ÊÇ·­ÒëµÃ²»ºÃ£¬±È½ÏÄѶ®¡£Ç®Äܵġ¶C++³ÌÐò½Ì³Ì¡·¹ØÓÚº¯ÊýµÄ×÷ÓÃÓò¹æÔò½²µÃÒªÇå³þЩ£¬ÓÐC++µÄ֪ʶÔÚÀïÃæ£¬ ......

PythonÖеÄÕýÔò±í´ïʽ»ù´¡

$  ×Ö·û´®µÄĩβ
^  ×Ö·û´®µÄ¿ªÊ¼
\b  ×Ö·ûµÄ±ß½ç
ǰ׺t  ×Ö·û´®Öеķ´Ð±Ïߣ¨ËùÓÐ×Ö·û£©²»×ªÒå
?  ¿ÉÑ¡µØÆ¥Åä(λÓÚ֮ǰµÄ)µ¥¸ö×Ö·û
()  ¸Ä±äÓÅÏȼ¶£¬×÷Ϊһ¸öÕûÌ壬һ¸ö×é
|  »òÕß
(A|B)  ¾«È·Æ¥ÅäA»òBÖеÄÒ»¸ö
{n,m}  Æ¥Å䣨λÓÚ֮ǰµÄ×Ö·û£©nµ½m´Î
VERBOSE  ......

Python¿âÏê½âÖ®ÍøÂç(1)

¸Õ¸ÕдÍêPythonǶÈ벿·ÖµÄ¼òµ¥Àý×Ó£¨²î²»¶à¹»ÏÖÔÚÓõÄÀ²~£©£¬½Ó×Å¿´µãʵ¼ÊµÄ¶«Î÷£¬Èç¹ûûÓÐÕâЩӦÓõϰ£¬Ç°ÃæµÄǶÈëҲûÓÐʲôÒâÒ塣ǶÈëµÄÆäËû²¿·ÖÒÔºóÓöµ½ÔÙд£¬²»±ØÒ»ÏÂ×Ó°ÑÄÇЩº¯Êý¶¼Åª¶®£¬ÊǰÉ~
OK£¬À´¿´Python¿âÖÐÎÒÈÏΪ×îºÃÍæµÄÒ»²¿·Ö£¬Ò²¾ÍÊÇPython¶ÔÍøÒ³µÄ²Ù×÷¡£
ÕâÆª¼òµ¥ËµÏÂÈçºÎͨ¹ýÍøÖ·ÏÂÔØÍøÒ³£¬Ç°ÌᵱȻÊÇ ......

Python Socket ±à³Ì

client:
import socket, sys
if __name__ == '__main__':
    #´¦Àí²ÎÊý
    argv = sys.argv
    if (len(argv)!=3) or (len(argv)==2 and argv[1]=='/?'):
        print '>>>Useage:', argv[0], '<address> < ......

pythonµÄwiki ÁÐ×Ó.

#coding=utf-8
from newtest.wiki.models import WiKi
from django.template import loader, Context
from django.http import HttpResponse, HttpResponseRedirect
from django.shortcuts import render_to_response

def index(request, pagename=""):
"""ÏÔʾÕý³£Ò³Ã棬¶ÔÒ³ÃæµÄÎÄ×Ö×öÌØÊâµÄÁ´½Ó´¦Àí"""
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ