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

[zt]pythonµÄweb¿ò¼Ü£¬±È½ÏÈ«ÃæµÄÒ»¸öÌù

±êÇ©£º python  google  ¿ò¼Ü  django  pylons  Python Web¿ò¼Ü
Django DjangoÊÇÒ»¸ö¿ª·ÅÔ´´úÂëµÄWebÓ¦Óÿò¼Ü£¬ÓÉPythonд³É¡£²ÉÓÃÁËMVCµÄÉè¼ÆÄ£Ê½£¬¼´Ä£ÐÍM£¬Ä£°æTºÍÊÓͼ¿ØÖÆÆ÷V¡£Ëü×î³õÊDZ»¿ª·¢À´ÓÃÓÚ¹ÜÀíÀÍÂ×˹³ö°æ¼¯ÍÅÆìϵÄһЩÒÔÐÂÎÅÄÚÈÝΪÖ÷µÄÍøÕ¾µÄ¡£²¢ÓÚ2005Äê7ÔÂÔÚBSDÐí¿É֤Ϸ¢²¼¡£ÕâÌ׿ò¼ÜÊÇÒÔ±ÈÀûʱµÄ¼ªÆÕÈü¾ôÊ¿¼ªËûÊÖDjango ReinhardtÀ´ÃüÃûµÄ¡£DjangoµÄÖ÷ҪĿ±êÊÇʹµÃ¿ª·¢¸´Ôӵġ¢Êý¾Ý¿âÇý¶¯µÄÍøÕ¾±äµÃ¼òµ¥¡£Django×¢ÖØ×é¼þµÄÖØÓÃÐԺ͓¿É²å°ÎÐÔ”£¬Ãô½Ý¿ª·¢ºÍDRY·¨Ôò£¨Don'tRepeat Yourself£©
TurboGears TurboGears ÊÇÒ»¸öÌá¹©ÍøÒ³Ç°¶Ëµ½ºó¶ËÕûºÏµÄÍøÕ¾¿ò¼Ü£¬Ê¹Óà Python ¶¯Ì¬ÓïÑÔ¡£ÌØÉ«ÓÃ×îºÃµÄ Python ¿ªÔ´×é¼þ (Bestof Breed Modules)½»»¥Ê½µÄ¿ª·¢¾­Ñé (Interactive ProgrammingExperience)¿É×ÔÓÉ×éºÏÆ«ºÃµÄ¿ª·¢Ä£¿é (Integration)ÄÚ½¨ÍøÒ³·þÎñÆ÷£¬ORM£¬AJAX ÄÜÁ¦£¬Ä¬ÈÏ¿ÉÒÔ²úÉú html,json µÈ¸ñʽ¡£²»Óð²×° Apache ÍøÒ³·þÎñÆ÷¾Í¿ÉÒÔ¿ªÊ¼¿ª·¢ÍøÒ³Ó¦ÓóÌʽ£¬¿ÉÒÔµ¥¶À²¼Êð»ò´îÅä Apache£¬LightHttpd
Google App Engine 2008Äê4ÔÂ7ºÅ£¬GoogleÔÚCampfire OneÉϽéÉÜÁËÒ»ÖÖ¼ò»¯´´½¨¡¢ÔËÐк͹¹½¨ÉìËõÐÔWebÓ¦ÓõŤ¾ß——Google AppEngine¡£¼ò¶øÑÔÖ®£¬Google AppEngineÔÊÐíÄã±¾µØÊ¹ÓÃGoogle»ù´¡ÉèÊ©¹¹½¨WebÓ¦Ó㬴ýÆäÍ깤֮ºóÔÙ½«Æä²¿Êðµ½Google»ù´¡Éèʩ֮ÉÏ¡£Õâ´Î·¢²¼µÄÊÇûÓаüº¬È«²¿ÌØÐÔµÄÔ¤ÀÀ°æ£¬ÌṩÁËÒ»¸öÅä¶îϵͳ£¬ËüÏÞÖÆÁËÔÚÔ¤ÀÀÆÚ¼äÓ¦ÓÃÃâ·Ñ¿ÉÓõĴ洢¡¢CPUºÍ´ø¿í¡£Ò»µ©Ô¤ÀÀÆÚ½áÊø£¬Åä¶îÈÔ½«Ãâ·Ñ£¬µ«ÊÇ¿ª·¢ÕßÐèÒª°´Ð蹺Âò¶îÍâ×ÊÔ´¡£¶îÍâ×ÊÔ´µÄ¼Û¸ñÉÐδ¹«²¼
web2py ʲôÊÇweb2py£¿web2pyÊÇʹÓà Python±àдµÄÒ»¸ö¿ªÔ´web¿ò¼Ü£¬²¢¿ÉÒÔʹÓÃPython½øÐÐÊý¾Ý¿âÇý¶¯µÄwebÓ¦Ó÷½ÃæµÄ¿ìËÙ±à³Ì¡£Èç½ñÓÐÐí¶àµÄweb¿ò¼Ü£¬°üÀ¨Ruby on Rails, Django, PylonsºÍ TurboGears£¬ËùÒÔΪʲôÓÖ¿ª·¢Ò»¸öÄØ£¿ÎÒÊÇÔÚÐÄÖдø×ÅÏÂÃæµÄÄ¿±ê½øÐÐweb2pyµÄ¿ª·¢µÄ:¾¡¿ÉÄÜÏóRails,µ«ÊÇÓÃPythonÀ´¿ª·¢£¬ÕâÑù¿ÉÒÔ¸üÎȶ¨ºÍ¸ü¸ßЧ¡£Ò»Ì廯µÄ°ü£¬²»ÐèÒª°²×°¡¢ÎÞÅäÖúͲ»ÐèÒªshell½Å±¾¡£³¬¼¶ÈÝÒ×½Ìѧ(ÎҵŤ×÷ÊǽÌѧ)¡£ËùÒÔÎÒ°Ñweb2py±¾ÉíÒ²×ö³É
Uliweb Uliweb ¼ò½é ËüÊÇʲô Uliweb ÊÇÒ»¸öеÄPython Web Framework£¬ËüÖ®ËùÒÔ»á²úÉúÊÇÒòΪÏÖÓеĿò¼Ü¶àÉÙÓÐЩÁîÈ˲»ÂúÒâµÄµØ·½£¬¶øÇÒÐí¶àÇé¿öÏÂÕâЩ²»ÂúÒâµÄµØ·½»ò¶à»òÉÙ¶ÔÎÒ¿ª·¢WebÓÐÓ°Ï죬Òò´ËÔÚ¾­¹ý¶Ô²»ÉÙ¿ò¼ÜµÄѧϰ֮ºó£¬ÎÒ¾ø¶¨¿ª·¢Ò»¸öеĿò¼Ü£¬Ï£Íû¿ÉÒÔ×ÛºÏ


Ïà¹ØÎĵµ£º

Python Socket Server

½ñÌì×öftpµÄ½çÃæ,×öµÄÏ൱ÓôÃÆ£¬ÅªµÃÐÄÇé¼°Æä²»Ë¬£¬ÔÚÍøÉÏËѵ½ËÀ¶¼²»ÖªµÀ¸ÃÔõô°ì£¬´òËãÃ÷ÌìÏÈ¿´¿´C£«£«
µÄÊÇÔõôŪµÄÔÙ˵¡£²»¹ý£¬ÏÖÔÚÎÒÏëдһϹØÓÚsocketµÄ±à³Ì¡£
ÏÈдһ¸öʱ¼ä·þÎñÆ÷°É£¬Ëû¼àÌý¶Ë¿Ú£¬²¢Çһ᷵»Ø ·þÎñÆ÷µÄʱ¼ä
server.py
#!/usr/bin/python
# Copyright (c) angelipin (angelipin@126.com)
import ......

³ÌÐò python ץȡÐÂÀ˶ÁÊ鯵µÀС˵

¶þ½øÖÆÎļþÏÂÔØµØÖ·£º
SinaGetBook
Ч¹ûÈçͼ£º
´úÂ룺
#!/usr/bin/env python
#coding=utf-8
#!/usr/bin/env python
#coding=utf-8
import traceback
import sys
import wx
import re
import urllib
import wx.richtext as rt
import wx.lib.buttonpanel as bp
import Casing
import Debug
def trace_back ......

pythonÖеÄÒ»¸öºÃÓõÄÎļþÃû²Ù×÷Ä£¿églob

  ѧϰpython±¾¾ÍÊÇÒµÓàÖ®ºÃ£¡Ê鱾ɶµÄ£¬¶¼ÎÞ´Ó˵Æð¡£ËùÒÔż¶ûÅöµ½Ò»¸öºÃµÄÄ£¿é£¬¾ÍÒªÔÚ²©¿ÍÖмǼһÏ£¬ÒÔ±ãÈÕºóÖ®Óá£ÊÇÒÔ¸ßÊÖÖ±½ÓµÄÆ®¹ý¡£ÏÂÃæÇÐÈëÕýÌâ¡£
  globÊÇpython×Ô¼º´øµÄÒ»¸öÎļþ²Ù×÷Ïà¹ØÄ£¿é£¬ÄÚÈÝÒ²²»¶à£¬ÓÃËü¿ÉÒÔ²éÕÒ·ûºÏ×Ô¼ºÄ¿µÄµÄÎļþ£¬¾ÍÀàËÆÓÚWindowsϵÄÎļþËÑË÷£¬¶øÇÒÒ²Ö§³ÖͨÅä·û£¬*,?,[]Õ ......

pythonÖеÄÁбíÅÅÐò²Ù×÷

 
 
 
Python lists have a built-in sort() method that modifies the list in-place and a sorted() built-in function that builds a new sorted list from an iterable.
There are many ways to use them to sort data and there doesn't appear to be a single, central place in the various man ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ