(python)http://www.python.org/
ÖÐÎļò½é
¡¡¡¡Python (·¢Òô:[ 'paiθ(?)n; (US) 'paiθ?n ]n.òþÉߣ¬¾ÞÉß )£¬ÊÇÒ»ÖÖÃæÏò¶ÔÏóµÄ½âÊÍÐԵļÆËã»ú³ÌÐòÉè¼ÆÓïÑÔ£¬Ò²ÊÇÒ»ÖÖ¹¦ÄÜÇ¿´ó¶øÍêÉƵÄͨÓÃÐÍÓïÑÔ£¬ÒѾ¾ßÓÐÊ®¶àÄêµÄ·¢Õ¹ÀúÊ·£¬³ÉÊìÇÒÎȶ¨¡£Python ¾ßÓнű¾ÓïÑÔÖÐ×î·á¸»ºÍÇ¿´óµÄÀà¿â£¬×ãÒÔÖ§³Ö¾ø´ó¶àÊýÈÕ³£Ó¦Óá£ËüµÄÃû×ÖÀ´Ô´ÓÚÒ»¸öϲ¾ç,Ò²Ðí×î³õÉè¼ÆPythonÕâÖÖÓïÑÔµÄÈ˲¢Ã»ÓÐÏëµ½½ñÌìPython»áÔÚ¹¤ÒµºÍ¿ÆÑÐÉÏ»ñµÃÈç´Ë¹ã·ºµÄʹÓá£ÖøÃûµÄ×ÔÓÉÈí¼þ×÷ÕßEric RaymondÔÚËûµÄÎÄÕ¡¶ÈçºÎ³ÉΪһÃûºÚ¿Í¡·ÖУ¬½«PythonÁÐΪºÚ¿ÍÓ¦µ±Ñ§Ï°µÄËÄÖÖ±à³ÌÓïÑÔÖ®Ò»£¬²¢½¨ÒéÈËÃÇ´ÓPython¿ªÊ¼Ñ§Ï°±à³Ì¡£ÕâµÄÈ·ÊÇÒ»¸öÖпϵĽ¨Ò飬¶ÔÓÚÄÇЩ´ÓÀ´Ã»ÓÐѧϰ¹ý±à³Ì»òÕß²¢·Ç¼ÆËã»úרҵµÄ±à³ÌѧϰÕ߶øÑÔ£¬PythonÊÇ×îºÃµÄÑ¡ÔñÖ®Ò»¡£
¡¡¡¡
Ó¢Îļò½é
¡¡¡¡Python is an object-oriented explanation of computer programming languages, is a powerful and well-size-fits-all language, has been more than a decade of development, maturity and stability. Python scripting language with the most rich and powerful class library, enough to support the vast majority of day-to-day applications.
¡¡¡¡This language has a very simple and clear characteristics of grammar, for a variety of high-level mission to complete, almost all of the operating system to run.
¡¡¡¡At present, this language is related to the rapid technological development, the rapid expansion of the number of users, and related resources.
¡¡¡¡ÕâÖÖÓïÑÔ¾ßÓзdz£¼ò½Ý¶øÇåÎúµÄÓï·¨Ìص㣬ÊʺÏÍê³É¸÷Öָ߲ãÈÎÎñ£¬¼¸ºõ¿ÉÒÔÔÚËùÓеIJÙ×÷ϵͳÖÐÔËÐС£
¡¡¡¡Ä¿Ç°£¬»ùÓÚÕâÖÖÓïÑÔµÄÏà¹Ø¼¼ÊõÕýÔÚ·ÉËٵķ¢Õ¹£¬Óû§ÊýÁ¿¼±¾çÀ©´ó£¬Ïà¹ØµÄ×ÊÔ´·Ç³£¶à¡£
PythonµÄHello World³ÌÐò¡¡
¡¡ÏÂÃæÊÇÒ»¸öÔÚ±ê×¼Êä³öÉ豸ÉÏÊä³öHello WorldµÄ¼òµ¥³ÌÐò£¬ÕâÖÖ³ÌÐòͨ³£×÷Ϊ¿ªÊ¼Ñ§Ï°±à³ÌÓïÑÔʱµÄµÚÒ»¸ö³ÌÐò£º
¡¡¡¡ÔÚpython2.x°æ±¾ÖÐ
¡¡¡¡#!/usr/bin/env python
¡¡¡¡print "Hello, world!"
¡¡¡¡»òÕߣº
¡¡¡¡import sys
¡¡¡¡sys.stdout.write("Hello, world\n")
¡¡¡¡///////
¡¡¡¡ÔÚpython3.xÖÐ
¡¡¡¡printÊÇÒ»¸öÍêÍêÈ«È«µÄº¯Êý£¬ÐèÒªÐ޸ijɣº
¡¡¡¡print('Hello world!')
Óŵã
¡¡¡¡¼òµ¥————PythonÊÇÒ»ÖÖ´ú±í¼òµ¥Ö÷Òå˼ÏëµÄÓïÑÔ¡£ÔĶÁÒ»¸öÁ¼ºÃµÄPython³ÌÐò¾Í¸Ð¾õÏñÊÇÔÚ¶ÁÓ¢ÓïÒ»Ñù£¬¾¡¹ÜÕâ¸öÓ¢ÓïµÄÒ
Ïà¹ØÎĵµ£º
2009-11-16
Collin WinterÊÇPythonÉçÇøһλÆľßÓ°ÏìÁ¦µÄ¿ª·¢Õߣ¬ËûÔøÊÇCPythonÏîÄ¿µÄºËÐÄ¿ª·¢ÕßÖ®Ò»¡¢Ò²ÔøÊÇUnladen Swallow£¨¼ûÎÄĩעÊÍ£©µÄºËÐÄ¿ª·¢Õߣ¬²ÎÓëÁ˺ܶàPythonÏîÄ¿µÄ¿ª·¢¡£½üÀ´´«ÎÅGoogle½«ÔÚÆäÐÂÏîÄ¿ÖÐÏÞÖÆPythonµÄʹÓã¬Îª´ËÓпª·¢Õߣ¨ÒÔK±íʾ£©ÔÚGoogle ÂÛ̳Öй«¿ªÑ¯ÎÊÁËCollin Winter£¬Collin Winte ......
ĿǰΪֹ£¬¾ÝÎÒËùÖª£¬ÔÚpythonÖжÔÏó³Ö¾Ã»¯ÓÐÒÔϼ¸ÖÖ·½·¨£º
1. ʹÓÃ(dbhash/bsddb, dbm, gdbm, dumbdbm µÈ£©ÒÔ¼°ËüÃǵÄ"¹ÜÀíÆ÷"( anydbm )¡£Ö»ÌṩÁË Python ×Ö
·û´®µÄÓÀ¾ÃÐÔ´¢´æ. Ìṩһ¸öÀàËÆ×ÖµäºÍÎļþµÄ¶ÔÏ󣬿ÉÒÔÍê³É×Ö·û´®µÄÓÀ¾ÃÐÔ´æ´¢¡£
2. ʹÓÃmarshalºÍpickleÀ´ÐòÁл¯python¶ÔÏ󣬲¢¾ß±¸´æ´¢µ½½éÖÊÉϵĹ ......
Documentation for C's fopen():
---
r Open text file for reading. The stream is positioned at the beginning
of the file.
r+ Open for reading and writing. The stream is positioned at the
beginning of the file.
w Truncate file to zero length or create text file for writing. The
stream is posi ......
Ò»°ã°²×°µÄ¶¼ÊÇPython22°æ£¬wincvs1.3ÐèÒªpython2.1°æ±¾¼°ÒÔÉÏ¡£µ«ÊÇÆô¶¯¹ý³ÌÕÒ²»µ½£¬ÍøÉÏËÑË÷µÄ·½·¨²»´óÊÊÓá£×îºó¾¹ýÊÔÑé·¢ÏÖ£¬°ÑPython22°²×°Â·¾¶ÏµÄpython22.dll¿½±´µ½wincvsµÄ°²×°Ä¿Â¼Ï¡£ÔËÐÐwincvs£¬ok¡£¾õµÃÕâ¸ö·½·¨ºÃÓõĸø¶¥Ï£¡ ......