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

pythonÓÃsax °üÀ´½âÎöxml µÄÎÊÌâ ÇëÖ¸½Ì ¼± ¶àл

ÎÒÏëÓÃsax°üÀ´½âÎöxml, ÒªÇóÈçÏÂ:
Python code:

<?xml version="1.0" encoding="UTF-8"?>
<waf>
<policy> acl </policy>
<prot>
<dstip>2.2.2.2</dstip>
<dstip>3.3.3.3</dstip>
<dstport>80</dstport>
<srcip>3.3.3.3</srcip>
<srcport>8888</srcport>
<protocol>17</protocol>
</prot>
<other haha="google.com" test_case_id="1" >
<action>0</action>
<dstip>33333333</dstip>
<res>0</res>
<res a="b" b="2" >0</res>
<res a="c" b="3" c="4" >88</res>
<res a="b" b="2" >0</res>

</other>
<other heihei="google.com" test_case_id2="2" >
<res a="b" b="2" >0</res>
</other>
<other heihei3="baidu.com" test_case_id3="3" >
<res a="c" b="3">88</res>
<dd gg = "pengwei" >wpw</dd>
</other>
<m>
<w>
<dd gg = &qu


Ïà¹ØÎÊ´ð£º

¡¶pythonÔ´ÂëÆÊÎö¡·£¬¼ì²é¼Ó·¨½á¹ûÊÇ·ñÒç³ö£¿

ÈçÌ⣬
¡¶pythonÔ´ÂëÆÊÎö¡·ÖеÚ32Ò³£¬
Óиö¼ì²é¼Ó·¨½á¹ûÊÇ·ñÒç³öµÄ´úÂ룬
´óÖÂÈçÏ£º
C/C++ code:
long a, b, x;
x = a + b;
//¼ì²é½á¹ûÊÇ·ñÒç³ö
if((x^a)>=0 || (x^b)>=0)
return OK; // ......

python PILÄ£¿é´ò¿ªÍ¼Æ¬ÎÊÌâ

ÇëÎÊÏ£¬ÎÒµÄÊÇpython2.5°²×°ÁËPILÄ£¿é£¬È»ºó±àд³ÌÐò´ò¿ª±¾»úÉϵÄÒ»¸öͼƬʱ£¬ÎªÊ²Ã´ÀϳöÏÖ´íÎóÄØ£¬ÀÏÊÇÕÒ²»µ½Í¼Æ¬£¬´íÎóÌáʾÈçÏ£ºFile "C:\Python25\Lib\site-packages\PIL\Image.py", line 1888, in o ......

Ë­ÍÆ¼öÒ»±¾Ñ§Ï°PYTHONµÄÊ飬лл

Ë­ÍÆ¼öÒ»±¾Ñ§Ï°PYTHONµÄÊ飬лл
¡¶python¼òÃ÷½Ì³Ì¡·£¬¡¶pythonºËÐıà³Ì¡·

×÷Ϊϵͳ¹ÜÀí·½Ãæ£¬¡¶Python UNIXºÍLinuxϵͳ¹ÜÀíÖ¸ÄÏ¡·ÊDZ¾·Ç³£²»´íµÄÊé¡£
http://club.book.csdn.net/pic3/255142.jpg

ÒýÓÃ
×÷Î ......

pythonʹÓÃTkinter×öGuiÈçºÎÏÔʾÓÃforgetÒþ²ØµÄ¿Ø¼þ

´´½¨¿Ø¼þ
bt=tkinter.Button(root,text='button')
bt.place(x=5,y=5)
bt.place_forget()  #Òþ²Ø¿Ø¼þ

ÈçºÎʹÒþ²ØµÄ¿Ø¼þÔÙ´ÎÏÔʾ³öÀ´
ÔÙ´Îbt.place()£¬²»ÐÐô£¿

ÔÙ´Îbt.place() »¹ÓÐ ......

python Ô´ÂëÏÂÔØ

ĿǰpythonµÄ¹ÙÍøÉϺÃÏñÏÂÔØ²»Á˶«Î÷£¬ËùÒÔÅܵ½ÕâÉÏÃæÀ´ÎÊÎÊ£¬ÓÐûÓÐÈËÁôÓÐÏàÓ¦µÄ¼Òµ±£¬ÄÜ·ñ¸øÐ¡µÜ¹²ÏíÒ»·Ý,ʲôƽ̨ÏµĶ¼¿ÉÒÔ£¬Ð»Ð»£¡
Ôõô¿ÉÄÜϲ»ÁË£¿

ÏÂÔØÒ³ÃæÃ²ËÆ±»Ç½ÁË£¬ÉÏ´úÀí¾ÍÐÐ...

ÇëÎʶþÂ¥ÄÜ·ñ½² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ