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

python¶ÁxmlÖÐÔªËØË³ÐòÎÊÌâ


a.xmlÄÚÈÝÈçÏÂ:
      </project>
<project name="asdf" branch="asfasdfas" naname="xiao xin" QD6="091010">
<componentList table="cpp">
<entry>ae </entry>
<entry>pl </entry>
<entry>pp </entry>
<entry>ps </entry>
<entry>sa </entry>
</componentList>
<componentList table="java">
</componentList>

</project>


ÏàÓ¦µÄ´¦Àíº¯ÊýÈçÏ£º

def GetexpectData(project,branch):
        global locList
        global cppcomponentss,componentReposityy;
        cppcomponentss= {}
        tree = ET.parse("a.xml")
        p = getByAttr(tree.findall("project"),"name",project)
        if p!=None:
                compList = getByAttr(p.findall("componentList"),"table","cpp")
                comps = compList.findall("expect")
                for each in comps:
        &


Ïà¹ØÎÊ´ð£º

pythonÖÐÏß³ÌÎÊÌ⣿£¿

ÎÒÏÖÔÚÊÇÕâÑùµÄ
¿ªÁËÒ»¸ö×ÓỊ̈߳¬¶ÁÈ¡ÏÂÃæµÄÏûÏ¢
±¾ÒâÊÇ
Python code:

while not self._stopevent.isSet( ):
re=¶ÁȡϲãÏûÏ¢
if re>0:
´¦Àí
else:
pass

¼ÙÈ ......

[ÇóÖú]Let's PythonϵÁÐÊÓÆµµÚÒ»¼¯Â¼ÖÆÍê³É

ºÇºÇ, ×òÌì¼ÁËLet's PythonµÄµÚÒ»¼¯, µÚÒ»´Î¼, ûɶ¾­Ñé, ÓõÄÊÇCamtasia Studio, ½á¹ûÒ»¼¯Â¼ÁË85·ÖÖÓ, ¸ã800¶àM, ûµØ·½´«ÁË, ÄÄλÓкõãµÄÃâ·Ñ¿Õ¼ä, ·ÖÏíÒ»¸ö°¡.....ÒªÖ§³Ö¶ÏµãÐø´«µÄ°¡.

Ò»¶¨ÒªÎȶ¨µ ......

[Ãâ·Ñ·ÖÏí]Let's PythonϵÁÐÊÓÆµÕýʽ·¢²¼

²é¿´ÊÓÆµÏêϸÇëµã»÷:

Let's PythonϵÁÐÊÓÆµÕýʽ·¢²¼

лл´ó¼ÒµÄÖ§³Ö, ºóÐøÊÓÆµ½«»á¸ü¼Ó¾«²Ê
  ¹Ø×¢¡£¡£¡£

¶¥Ò»ÏÂ˯¾õ.....

Let's Python ϵÁÐÊÓÆµÕýʽ·¢²¼ÁË

²é¿´ÊÓÆµÏê ......

python ÓÐIDLE 3.1 µÄÂð£¿ÄĶùÄÜÏÂÔØ?

ÈçÌ⣺
python ÓÐIDLE 3.1 µÄÂð£¿ÄĶùÄÜÏÂÔØ?
»òÕ߸üµÍ°æ±¾µÄ£¬ÔÚ¹Ù·½ÍøÕ¾É϶¼¿´²»µ½ÏÂÔØ£¬http://python.org
ÏÂÔØÒ³Ãæ£º
http://python.org/download

http://python.org/ftp/python/3.1.1/python- ......

python½âѹËõµÄÎÊÌâ

pythonÈçºÎ½âѹËõ.ZµÄÎļþ°¡£¬ÔÚwindowsϵͳ»·¾³ÏÂ
Q7Z ÊÇÒ»¿î»ùÓÚ Qt4 µÄ 7z ѹËõ¹¤¾ß
http://code.google.com/p/k7z/

¿ªÔ´µÄ

http://sourceforge.net/projects/k7z/

LSµÄÄܾßÌå˵һ˵Âð£¿
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ