¶¯Ì¬´ó±ÈÆ´Python¡¢LuaºÍRuby
ÀµÓºÆ(http://blog.csdn.net/lanphaday) Òë
ÒëÕß°´£ºPython¡¢luaºÍrubyÔÚC/C++ÊÇÈÕ½¥Ê½Î¢µÄÇé¿öÏ£¬ÔÚjava/.netµÄΧ¼ßÖÐŬÁ¦¿¹ÕùµÄÈý¸öµ±ºìСÉú¡£ÔÚTom GutschmidtµÄÖø×÷¡¶Game Programmng with Python, Lua and Ruby¡·Ò»ÊéÖУ¬½éÉÜÁËÈýÖÖÓïÑÔÔÚÓÎÏ·ÖеÄÓ¦Óã¬ÆäÖÐÓÈΪÁ˲»ÆðµÄÊÇÔÚÊéÖÐ×îºóÒ»ÕÂÖбȽÏÁËÈýÖֽű¾£¬×÷ÕßûÓÐ˵ÊëÓÅÊëÁÓ£¬µ«ÊǶÁÕßÄãÈÏΪÄØ£¿»¶ÓÁôÑÔÌÖÂÛ¡£
So which of the three languages is the best to use on your project? That depends a great deal on what you want to accomplish. To wrap up the book, I've outlined some of the pros and cons of each language in this section.
ÕâÈýÖÖÓïÑÔÖеÄÄÄÒ»ÖÖ¸üºÏÊÊÄãµÄÏîÄ¿£¿ºÜ´ó³Ì¶ÈÈ¡¾öÓÚÄãÏë´ïµ½Ê²Ã´ÑùµÄÄ¿±ê¡£×÷ΪһÊéµÄ½á⣬ÔÚÕâÒ»½ÚÀÎÒ»áÃèÊöÒ»ÏÂËüÃǸ÷×ÔµÄÓŵãºÍ²»×ã¡£
Python Pros and Cons
PythonµÄÓŵãºÍ²»×ã
The pros of Python are as follows:
PythonµÄÓŵãÈçÏ£º
· Python has more extension modules than the other languages.
· Python±ÈÆäËüÓïÑÔÓиü¶àÀ©Õ¹Ä£¿é¡£
· Many online Python tutorials exist. There are also plenty of English books and reference materials, many sample scripts exist online, and there is a wealth of introductory material. The Python.org Website is a good place to start looking for these because it has sections for beginners, tutorials, guides organized by topic, and lists of links and references.
· ÔÚÍøÉÏ¿ÉÒÔÕÒµ½ºÜ¶àPython½Ì³Ì¡£²»½öÈç´Ë£¬»¹ÓдóÁ¿µÄÓ¢ÎÄÊé¼®ºÍ×ÊÁÏ¡£Python.orgÓкܶàΪ³õѧÕß×¼±¸µÄÒÀÖ÷Ìâ×éÖ¯µÄ×ÊÁÏ¡¢½Ì³ÌºÍ±à³ÌÖ¸ÄÏ£¬´ËÍ⻹ÓкܶàÁ´½ÓºÍ²Î¿¼¡£
· Most folks really enjoy the syntax of the Python language because it appears clean and is easy to read.
· ºÜ¶àÈ˶¼Ï²»¶PythonÓïÑÔµÄÓï·¨£¬ÒòΪËüÇåÎúÒ׶Á¡£
· Python has an edge wher
Ïà¹ØÎĵµ£º
×òÌìÔÚÑо¿Á˼¸ÌìPHP-GTKºó£¬¾ö¶¨×ªÏòPython£¬ÒòΪPython¾ßÓжàÏß³ÌÕâ¸öÌص㣬ÔÚÓëϵͳ½»»¥·½ÃæÒ²±È½ÏÓÐÓÅÊÆ£¬ËäÈ»ÎÒºÜϲ»¶PHP£¬PHPÔÚÍøÒ³·½ÃæÒ²·Ç³£Ç¿´ó£¬µ«±Ï¾¹ÎÒ²»ÊǸãÍøÕ¾¿ª·¢µÄ¡£
ÏëϸöPython°É£¬·¢ÏÖËü¾ÓÈ»±»ºÍгÁË£¬Ì«¹îÒìÁË
°¦£¬ºÍгÓÐÀí£¬ÆÁ±ÎÎÞ× ......
http://www.cnblogs.com/Jedimaster/archive/2007/02/28/660209.html
¡¡¡¡ÅóÓѵļÒÈË×öÉúÒ⣬ÿÈÕ´Ó¸÷µØ·Öµê´¦ÊÕ¼¯±¨±í£¬È»ºó»ØÈ¥»ã×Ü¡£ÓÉÓÚ²»ÏëÓÃÄÇÖÖ¸´ÔӵĹÜÀíÈí¼þ£¬¾Í½ÐËûдһ¸öС¹¤¾ß¡£ÓÚÊÇËûÕÒµ½ÁËÎÒ£¬ÈÃÎÒÏëÏë°ì·¨¡£
¡¡¡¡PythonÊǸöÁîÈ˾ªÆæµÄ¹¤¾ß£¬¶ø²»½ö½öÊÇÒ»ÖÖÓïÑÔ¡£¶Ô±ÈÀÏÅƵÄPerl£¬¿´ËÆPython²»ÊÇÄÇôµÄ¾«Í¨ ......
CSDNÕ¾ÄÚתÌû£º
http://blog.csdn.net/kiki113/archive/2009/03/28/4033017.aspx
python µÄÄÚǶtimeÄ£°å·Ò뼰˵Ã÷
Ò»¡¢¼ò½é
timeÄ£¿éÌṩ¸÷ÖÖ²Ù×÷ʱ¼äµÄº¯Êý
˵Ã÷£ºÒ»°ãÓÐÁ½ÖÖ±íʾʱ¼äµÄ·½Ê½:
µÚÒ»ÖÖÊÇʱ¼ä´ÁµÄ·½Ê½(Ïà¶ÔÓÚ1970.1.1 00:00:00ÒÔÃë¼ ......
http://www.autohotkey.com/forum/topic53773.html
Q:I am searching for is a way to execute AHK commands from a Python script. Is this possible?
A:Yes. Here is an example.
tested with python2.6, requires AutoHotkey.dll in the working directory or path...
ahkpython.py:
#Persistent
dllc ......