Python 3 ·¢²¼Õâô¾ÃÁË£¬ÊÇʱºòתÒÆÁËô£¿
RT£¬Ã²ËÆPythonÖ®¸¸Ò²ËµÈç¹ûÄãÏÖÔÚ¿ªÊ¼ÐµÄÏîÄ¿µÄ»°£¬×îºÃÊÇÖ±½ÓʹÓÃPython3£¬¿ÉÊÇʵ¼ÊÉÏ´ó¼ÒʹÓõô󲿷ֻ¹ÊÇ2.5£¬¹À¼ÆÓÃ2.6µÄ¶¼²»ÊǺܶ࣬²¢ÇÒÏà¶ÔÓ¦µÄÐí¶àÀ©Õ¹¶¼Ã»ÓÐ3¶ÔÓ¦µÄ°æ±¾¡£
¶ÔÓÚÐÂÊֵĻ°ÊÇʱºòתÒƵ½3.*ÁËô£¿
´òËã´Ó2010ÄêÔÙ¿¼ÂÇÁË¡£
Á¬×î»ù±¾µÄprint ¶¼¸ÄÁËд·¨£¬ÕæÊÇÎÞµÐÁË
¾ÍÊÇ£¬ÎÒÒ²¾õµÃÄÑÒÔ½ÓÊÜprint±ä³Éº¯Êý
ÎÒ¶Ôprint±ä³Éº¯ÊýÊÇÆÚµÈÒѾá£ÔÀ´µÄprintÌ«ÄÑÓã¬ÌرðÊDz»Ï£Íû×Ô¶¯»»ÐÐʱ
2.5 ÒÀ¾É
10Äê¿´¿´ÔÙ˵
2.6Óû§Â·¹ý
ºÃ¶àÒÀÀµÈý·½µÄ¿â¶¼²»Ö§³Ö3 ÏëתҲû°ì·¨
PythonÖ®¸¸¶¼ËµµÈÔÙ¹ýÒ»Ä꣬µÈÅäÌ׵ĿⶼÓÐÁË3.0µÄÎȶ¨°æ±¾¡£
2.6 Óû§Æ®¹ý~~~
²»¶¥²»ÐÐ
2.5
ÐÂÊÖ
´òËã´Ó3¿ªÊ¼
µ«·¢ÏÖÕÒµ½µÄ×ÊÁ϶¼ÊÇ2.xµÄ
ÌØÓôÃÆ
ÒѾÓкܶà¹ØÓÚ3µÄÁË¡£¡£¡£
Èç¹ûûÓÐÖ±½ÓÒÀÀµµÚÈý·½¿â£¬ÓÃ3.1.1£¬¸ü¸É¾»¡£¡£¡£
ÒªÓõĿⶼֻÓÐ2.5µÄ
¼æÈÝÐÔÎÊÌ⣬¶ÔÈí¼þÏîÄ¿µÄÓ°ÏìÌ«´óÁË¡£JavaÒ²´æÔÚÕâÖÖÎÊÌâ¡£
ѧpythonÓÃÊÖ²á¾Í¹»£¬ÊÔÊÔÕâ¸ö¹¤¾ßhttp://www.iseeway.com/chinese_web/download/¡£
Ò»°ãÈËÎÒ»¹²»»á¸æËßËû¡£¡£¡£
2.6.x
3µÄ庫還ÊÇÌ«ÉÙÁË¡£
Ïà¹ØÎÊ´ð£º
ÔÚlistÖÐÌí¼ÓÒ»¸öÀàµÄ¾Ö²¿±äÁ¿ ÕâÑù×öÊÇ·ñºÏ·¨ Çë¿´ÏÂÃæÀý×Ó:
Python code:
class A():
def __init__( self ):
self.__a = 0
self.__b = 'hello'
def get_a( self ):
ret ......
×î½üÃÔÉÏÁËPython£¬ÔÚ˼¿¼ÔõÑùÓÃPythonд¸ö³ÌÐòʵÏÖ¶ÔÖ¸¶¨ÍøÂç¶Ë¿ÚµÄÊý¾Ý°üµÄץȡºÍ½âÎö£¬¿ÒÇë¸ßÊÖÖ¸½Ì£¡£¡
ÄãºÃ£¡
Ê×ÏÈ£¬ÊµÏÖ²¶°üµÄ¹¦ÄÜÐèҪʹÓÃwincap£¨windowsÏ£©£¬»òÕßlibpcap£¨LinuxÏ£©¡£
¶øPythonÌṩÁ ......
ÈçºÎ½«PythonдµÄÒ»¶Î´úÂëÉú³ÉpydÐÎʽµÄ¿â?
ÎÒÖªµÀµÄ·½·¨ÓУº½«Õâ¶ÎPython´úÂëÀ©Õ¹³ÉC´úÂ룬Ȼºóͨ¹ýVC½«Õâ¶ÎC´úÂëÉú³Éºó׺Ϊ.pydµÄ¶¯Ì¬Á´½Ó¿â¡£
²»ÏëÓÃÕâô±¿µÄ·½·¨£¬ÇëÎÊÓÐûÓбȽϼòµ¥µÄ·½·¨£¿Ð»Ð»£¡
¶¥Ò»Ï£¬ ......
×î½üÒ»¸öÏîÄ¿ÂíÉϾÍÒªÓÃPython±àÁË ´ó¼ÒÍƼö¸öIDE¡£¡£¡£
1 Ãâ·Ñ¡£¡£¡£
2 Ìå»ý×îºÃСһµã
3 ¹¦ÄÜÇ¿´ó
£¨ÅÅÃû²»·ÖÏȺ󡣡£¡£·Ï»°¡£¡££©
emacs,×î´óµÄÓŵãÊÇÒòΪ·ÇͼÐνçÃ棬ÓÃSSHÔ¶³ÌµÇ¼Ҳ¿ÉÒÔʹÓá£ËùÒÔ¿ÉÒÔÓ ......
תÌû£º
import sys
from wxPython.wx import *
from wxPython.lib import newevent
DispatchEvent, EVT_DISPATCH = newevent.NewEvent()
class GenericDispatchMixin:
def __init__(self):
......