¹ØÓÚPythonµÄ»ù´¡ÎÊÌâ¡¡
ÏëÎÊÁ½¸öÎÊÌ⣺
1¡¢Python¼ÈÈ»ÊǹéÊôÓڽű¾ÓïÑÔ£¬ÄÇôÔÚʲôƽ̨ÏÂÔËÐУ¿
£¨vb script£¬JAVA script£¬php¶¼ÊôÓڽű¾ÓïÑÔÖÖÀ࣬¶¼ÊÇÓÃÓÚÍøÒ³½Å±¾£¬ÄÇôPythonͨ³£ÓÃÔÚÄÄÀïÄØ£¿£©
2¡¢PythonÄÜ·ñÔÚÈû°àV3°æ±¾Ï±àÒëÔËÐУ¿
£¨ÔÚÍøÉÏ¿´µ½*.pyÎļþ¿ÉÒÔÔËÐÐÔÚS60ÊÖ»úÉÏ£¬ÈçºÎ½øÐбàÒëÔËÐÐÄØ£¿£©
˳±ãÎÊһϣ¬ËÓÐPython3.xÒÔÉϵÄÖÐÎÄ°æ½Ì³Ì£¬ÄÜ·ñ·¢ÎÒÒ»·Ý£¿
ÎÒµÄÓÊÏäÊÇ£ºloveyou0131@vip.qq.com
ÕâÀïлл´ó¼ÒÁË¡£
pythonÓÃÓںܶàµØ·½...
¶àÓÃ×÷Õ³ºÏ¼Á(¿çÓïÑÔ)...
µ«ÊÇ, ÎҵľÑéÊÇ: ÕⶫÎ÷ʵÔÚ·½±ã, д¸ö²âÊÔʲôµÄ, ¼òÖ±ÊǷdz£·½±ã, µ«ÊÇ, pythonÐèÒª·Ç³£ÔúʵµÄ²Ù×÷ϵͳ, ÍøÂçµÈµ×²ãµÄ¶«Î÷, µ±È», Äã²»»áÕâЩҲÄÜѧ"»á"python, ÈçÎÒÏÖÔÚÒ»Ñù, ÎÒÊÖÀïµÄpythonÏÖÔÚÖ»ÊÇÒ»¸ö×ÔÐгµ, µ«ÊÇ, µ±¶Ô²Ù×÷ϵͳ, ÍøÂçµÈ·½ÃæÓнÏÉîµÄÔìÒèÖ®ºó, ÏàÐÅÕâ»á±ä³Éº½Ä¸µÄ.
ÔÙÀ´»Ø´ðÄãµÄÎÊÌâ.
pythonºÍjavaÓпɱÈÖ¸³ö, javaÓÃjvm¿çƽ̨, pythonÖÐÊǽâÊÍÆ÷....ÓÐpython½âÊÍÆ÷µÄµØ·½¶¼¿ÉÒÔÔËÐÐpythonµÄ³ÌÐò
pythonµÄÓÃ;¹ã·º£¬×ÀÃæÓ¦Óã¬web¿ª·¢£¬ÓÎÏ·£¬ÍøÂçͨѶ£¬¿Æѧ¼ÆËãµÈ¶¼Óй㷺ӦÓá£
Èû°às60ÉÏÏÖÔÚÒ²Ö§³ÖpythonÁË¡£
python 3.*µÄ×ÊÁÏûÓУ¬µ«ÍøÉÏ2.*µÄ×ÊÁÏÒ»´ó°Ñ¡£
Python¼¸ºõÄÜÔÚËùÓеÄƽ̨ÏÂÔËÐÐ
ÕæÕýµÄÎäÁÖ¸ßÊÖ——·É»¨ÕªÒ¶Òà¿ÉÉËÈË£¬Python¾ÍÊÇÄÇ»¨ºÍÒ¶£¬ÖÊÆÓ¡¢¼òµ¥£¬È´ÍþÁ¦Ç¿´ó¡£ÆÚ´ýPyPyµÄ³É¹¦£¬ÄÇÑùPython¾ÍÎÞµÐÁË
¸Õ¿ªÊ¼Ñ§Ï°python¡£¡£
°ï¶¥¡£
PythonºËÐľÍÊÇC
ºÜ¶à½Å±¾ÓïÑÔ»ù±¾¶¼ÊÇC/C++µÄÓ¦Ó㬻áÓÐÒ»¸öºËÐÄÖ´ÐÐÒýÇæ¡£
1. ÄÜÔËÐÐpythonÐéÄâ»úµÄµØ·½¾Í¿ÉÒÔÓÃpython£¬python
Ïà¹ØÎÊ´ð£º
¸Õ½Ó´¥£¬¸Ð¾õ¹¦ÄܱȽÏÇ¿´ó£¬Ö÷ÒªÊÇÕ³ºÏÐԺ㬿ÉÒÔÓлú½áºÏÆäËûÓïÑÔ¡£µ«²»Ã÷°×ËüÖ÷ÒªÓ¦ÓÃÓÚʲôÁìÓò£¬Ö÷Òª×öÄÇ·½ÃæµÄ¶«¶«¡£¿ª·¢ERPϵͳÊÇ·ñ¿ÉÐУ¿
»ù±¾ÉÏʲô¶¼¿ÉÒÔ×ö
½ñÌìÈ¥¿´ÁËһϣ¬»ù±¾ÉÏʲô ......
֮ǰÎҵĵçÄÔÉÏ°²×°ÁËIronPython2.0,ºó°²×°ShareDevelop3.0,²ÉÓÃĬÈÏÉèÖÃ
ÎÒÔÚShareDevelopÖн¨Á¢ÁËÒ»¸öĬÈϵÄPythonµÄ¿ØÖÆ̨»ò´°ÌåÏîÄ¿,ÔËÐÐʱ±¨´íÈçÏÂ:
µ÷ÊÔÆ÷Å׳öÒì³£System.IO.FileNotFoundException: ......
Ïñ C µÄ scanf() ÄÇÑù
±ÈÈç¶ÁÈë 1 2 3 a b c
ÿ´Î¶ÁÈëÒ»¸ö
ÏÂÃæÕâ¸öÓ¦¸ÃÊÇÄãÏëÒªµÄ°É£º
Python code:
>>> k = raw_input()
0 0123 ds dsl sd
>>> k
'0 0123 ds dsl sd'
>>> ......
´úÂë:
timeout = 10
socket.setdefaulttimeout(timeout)
sock = urllib2.urlopen(url)
html = sock.read()
Ò»°ãÇé¿öÄÜÐУ¬ÔËÐÐûÎÊÌ⣠......
ÔÚlistÖÐÌí¼ÓÒ»¸öÀàµÄ¾Ö²¿±äÁ¿ ÕâÑù×öÊÇ·ñºÏ·¨ Çë¿´ÏÂÃæÀý×Ó:
Python code:
class A():
def __init__( self ):
self.__a = 0
self.__b = 'hello'
def get_a( self ):
ret ......