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

Performance Python Vs Java


£ª javaÇ¿ÖÆʹÓÃOO½øÐÐÓ¦Óÿª·¢£¬Python¿ÉÒÔÓú¯Êýʽ±à³Ì¡£º¯ÊýʽÓÐʱÏԵ÷dz£¼òµ¥£¬´úÂëÁ¿¾Þ¼õ¡£»ØÏëÆðJava¶¯²»¶¯µÄN²ã¡¢»¹ÓÐÒ»¸ö¸ö¶ÔÏó£¬ÕæµÄÓÐÄÇÖÖÐÄÒªÂ𣿶øÇÒPython±¾ÉíÓïÑÔ·ç¸ñ¾Í¼ò½à£¬ÔÙ¼ÓÉϼò½àµÄº¯Êý£¬ÔÚ¿ª·¢Ð§ÂÊ¡¢Debug¡¢²âÊÔÉÏËƺõ»áÓÐÓÅÊÆ¡£
£ª ´óÐ͸´ÔÓÏîÄ¿µÄÐÔÄܸü¶àµØÌåÏÖÔڼܹ¹¡¢Ó²¼þÍØÆ˽ṹÉϵȡ£Ó¦¶ÔÊýÁ¿ÅÓ´óµÄÔÚÏßÓû§£¬APP·þÎñÆ÷¡¢Êý¾Ý¿âµÈ¶¼»ù±¾ÉÏ¿¿Ë®Æ½À©Õ¹À´½â¾öѹÁ¦£¬µ±JavaºÍPythonµÄÔËÐÐЧÂʲ»»á²îÒ»¸öÊýÁ¿¼¶Ê±£¬¿É¿¿ÐÔ¡¢¿ª·¢³É±¾µÈÆäËüÒòËØËƺõÒª½øÐиü¶àµÄ¿¼ÂÇ¡£
£ª ÔÚÖйúPython³ÌÐòÔ±Ïà¶ÔÓÚJava³ÌÐòÔ±À´Ëµ£¬µÄÈ·ºÜÄÑÕÐ……´óÐÍPythonÏîÄ¿Ïà¶ÔÓÚJavaÏîÄ¿À´Ëµ£¬µÄÈ·ºÜÄÑÕÒ……


Ïà¹ØÎĵµ£º

Python 3 Êä³öÖض¨ÏòʹÓÃC/C++

Python 3 Êä³öÖض¨ÏòʹÓÃC/C++
By:gddsky
 
Ä¿±ê
Ï£Íû½«Python 3µÄÊä³öÖض¨Ïòµ½×Ô¶¨ÒåµÄÊä³öÄ¿±ê¡£
 
ºËÐÄ
PythonʹÓÃsys.stdout¡¢sys.stderr×öÊä³öÄ¿±ê£¬Ö»ÒªÎÒÃÇÌæ»»ÕâÁ½¸öÖµ¾Í¿ÉÒÔÖض¨Ïòµ½ÎÒÃÇ×Ô¶¨ÒåÄ¿±ê¡£Ìæ»»µÄÖµµÄ¹æÔòÔÚPythonµÄÎĵµÖÐsys (module)µÄsys.stdoutÉÏÃæ˵Ã÷Ö»ÒªÌí¼ÓÒ»¸öwriteº¯Êý¾Í¿ÉÒÔ ......

ʹÓÃpy2exe´ò°üpython½Å±¾£¨except 2.6£©

Ò»¡¢¼ò½é
py2exeÊÇÒ»¸ö½«python½Å±¾×ª»»³ÉwindowsÉϵĿɶÀÁ¢Ö´ÐеĿÉÖ´ÐгÌÐò(*.exe)µÄ¹¤¾ß£¬ÕâÑù£¬Äã¾Í¿ÉÒÔ²»ÓÃ×°python¶øÔÚwindowsϵͳÉÏÔËÐÐÕâ¸ö¿ÉÖ´ÐгÌÐò¡£
py2exeÒѾ­±»ÓÃÓÚ´´½¨wxPython,Tkinter,Pmw,PyGTK,pygame,win32com clientºÍserver,ºÍÆäËüµÄ¶ÀÁ¢³ÌÐò¡£py2exeÊÇ·¢²¼ÔÚ¿ªÔ´Ðí¿É֤ϵġ£
¶þ¡¢°²×°py2exe ......

PythonÔªÀà

±³ºóÓÐÒ»´óÌ×µÄÀíÂÛ £¡£¡¹ÜËüÄØ£¡£¿ÀíÂÛÄܵ±·¹³ÔÂð£¿
ÏÈÖªµÀÔõôÓÃÔÙ˵£¡
¼Çס£ºÔªÀà¾ÍÊÇÀàµÄÄ£°å——Ì«ÐÎÏóÁËÁËѽ£¬»ô»ô¡£
ÎÒÒªÒ»´óȺµÄÀ඼¾ßÓÐÒ»ÖÐÌص㣬ÎÒÔõô¸øËûÃǼÓÉÏÄØ£¿Ä£°åÄ£°åÂð£¬ÎÒ´ÓÕâ¸öÄ£°å´´½¨Ò»ÈºÀ಻¾ÍOKÁË£¿ÄǾÍÐèÒªÔªÀàÁË¡£»ô»ô¡·
¶¨ÒåÒ»¸öÔªÀࣨ¾ÍËùÒ»¸öÀàµÄÄ£°å£¡Äª¶àÏ룬»¹Òª¼ÇסÕâÊÇÀ ......

Pythonµ¼³öQQ¿Õ¼äµÄÈÕÖ¾

ÓÃPythonµ¼³öQQ¿Õ¼äµÄÈÕÖ¾µ½WordPress
ÎÄÕÂÀ´Ô´£ºhttp://www.keakon.cn/bbs/thread-964-1-1.html·½·¨ºÜ¼òµ¥£¬ÕÒ³öÈÕÖ¾µÄµØÖ·£¬ÔÙ±éÀúÁгöÈÕÖ¾µÄÄÚÈÝ¡£
ÒòΪµ¥´¿µ¼³öûÓ㬻¹µÃת»»³ÉÆäËû¸ñʽ£¬ËùÒÔÎÒ±£´æµ½Ò»¸öÁбíÀÿƪÈÕÖ¾¶¼¶ÔÓ¦ÆäÖеÄÒ»¸ö×ÖµäÔªËØ£¬×ÖµäµÄÊôÐÔ¶¼ÓÃunicode±àÂë¡£
È»ºódump³öÀ´£¬¿ÉÒÔ·½±ãÒÔºóÓÃPyth ......

Python·¢ËÍÓʼþµÄÀà

×ÛºÏÍøÉϲ鵽µÄÄÚÈÝ£¬Ð´µÄPython·¢ËÍÓʼþµÄÀà¡£¸½¼þ²¿·Ö»¹Ã»Ð´ºÃ£¬Ö÷ÒªÊǸ½¼þµÄÎļþÃû²¿·Ö»¹²»¶Ô¡£
#!/usr/bin/env python
# coding:utf-8
import email
import smtplib
class Mailer:
def __init__(self, smtp_host, smtp_user, smtp_passwd, smtp_port = 25) :
self.smtp_host = smtp_host
s ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ