[Ãâ·Ñ·ÖÏí]Let's PythonÊÓƵµÚ¶þ¼¯·¢²¼, ¿ÉÎȶ¨ÏÂÔØ.
ϲ»¶PythonµÄÅóÓÑÇë½ø.
ÏêϸÐÅÏ¢Çë²é¿´:
http://blog.csdn.net/lgg201/archive/2009/10/08/4643635.aspx
Let's-python-ϵÁÐÊÓƵ·¢²¼×¨Ìù ÊÕ²Ø
ÊÓƵ½ÏÔçµÄʱºò¾Í˵ÊÇҪ¼ÁË, ÕâÒ»ÖܼÁ˵ÚÒ»¼¯, ÓÉÓÚµÚÒ»´Î¼ÊÓƵ, ¼µÄÎļþÌ«´óÁË, 800¶àM, ×îºóÖ»ºÃµ¥¶ÀѹËõÒ»¸öflash, ÏÖÔÚÉÏ´«µ½ÁËQQµÄÎļþÖÐתվ, ϲ»¶µÄÅóÓÑÇëÏÂÔØ, ÓÐÎÊÌ⻶ÓÁôÑÔ.
лл֧³Ö.
ÉùÃ÷: ±¾ÊÓƵÔÚ²»ÊշѵÄÇ°ÌáÏÂ, ¿ÉÒÔÈÎÒâ´«ÔÄ.
ÓÉÓÚQQÎļþÖÐתվÓÐÏÂÔØÏÞÖÆ, ×îºó, ÓÃWINRARѹËõ³ÉÁË·Ö¾í, ÉÏ´«µ½ÁËCSDNµÄÏÂÔØÇø
ÏÂÔصØÖ·: http://lgg201.download.csdn.net/
ÏÖÔÚÕâÀïÊÇ¿ÉÒÔÎȶ¨ÏÂÔصÄ, лл´ó¼ÒµÄÖ§³Ö. Ï£Íû´ó¼ÒÿÌ춼ÓÐÒ»¸öºÃµÄ¿ªÊ¼.
ÓÐÎÊÌâ¿ÉÒÔÔÚÕâ¸öÌû×ÓÏÂÃæ¸úÌû, Ò²¿ÉÒÔ·¢Óʼþµ½: lgg860911@yahoo.com.cn
×¢ÒâÊÂÏî:
2009Äê10ÔÂ13ÈÕ: µÚÒ»¼¯, µÚ¶þ¼¯1,2Á½²¿·ÖÈ«²¿ÉÏ´«Íê±Ï, CSDNÏÂÔØÇø»áÓÐÒ»¶Îʱ¼äÉóºËÆÚ, ×î³Ùµ½14ÈÕÏÂÎç¾Í»áͨ¹ý, Äܹ»ÏÂÔØ.
ÊÓƵÐÅÏ¢·¢²¼Çø:
µÚÒ»¼¯: ×Ü14¸ö·Ö¾í, ÊÓƵÃû: Let's-python-001-ÏÂÔØ°²×°¼°³õ²½ÈëÃÅ
µÚ¶þ¼¯: ·ÖÁ½²¿·Ö
µÚÒ»²¿·Ö: ×Ü8¸ö·Ö¾í, ÊÓƵÃû: Let's-python-002-µÚÒ»¼¯²¹³ä¼°1,2ÕÂÏ°Ìâ-01
µÚ¶þ²¿·Ö: ×Ü4¸ö·Ö¾í, ÊÓƵÃû: Let's-python-002-µÚÒ»¼¯²¹³ä¼°1,2ÕÂÏ°Ìâ-02
±¾ÎÄÀ´×ÔCSDN²©¿Í£¬×ªÔØÇë±êÃ÷³ö´¦£ºhttp://blog.csdn.net/lgg201/archive/2009/10/08/4643635.aspx
×Ô¼ºÏÂÂ¥¶¥Ìù.
×Ô¼ºÏÂÂ¥¶¥Ìù.
×Ô¼ºÏÂÂ¥¶¥Ìù.
´©ÉÏÂí¼×¼Ì
Ïà¹ØÎÊ´ð£º
ÎÒÏÖÔÚÊÇÕâÑùµÄ
¿ªÁËÒ»¸ö×ÓỊ̈߳¬¶ÁÈ¡ÏÂÃæµÄÏûÏ¢
±¾ÒâÊÇ
Python code:
while not self._stopevent.isSet( ):
re=¶ÁȡϲãÏûÏ¢
if re>0:
´¦Àí
else:
pass
¼ÙÈ ......
d = {"a":"a","b":"b","c":"c"}
print d
ΪʲôÊä³öÊÇ:{'a': 'a', 'c': 'c', 'b': 'b'} ......
¶¨ÒåÏÂÃæÕâÑùÒ»¸öº¯Êý£¬½«excel±í¸ñÖÐÁ½¸öµ¥Ôª¸ñµÄÄÚÈÝÁ¬³ÉÒ»¸ö×Ö·û´®£¬µ«ÊÇÈç¹ûÇ°Ò»¸öµ¥Ôª¸ñµÄÄÚÈÝÊÇÊý×Ö£¬±ÈÈçÊÇ¡°1¡±£¬ºóÒ»¸öµ¥Ôª¸ñµÄÊÂ×Ö·û´®£¬¾Í»á±¨´íunsupported operand type(s) for +=: 'float' an ......
¸Õ¸Õ¿ªÊ¼Ñ§python Çë½ÌÒ»¸öÎÊÌâ:
ÓÃ def n in range(100):
¿ªÊ¼Ñ»·
Óà % ·½·¨À´ÅÐ¶Ï ÖÆÑ»·4´Î¾Í ´òÓ¡ '*' * 25¸ö .
лл!ÔÚÏßµÈ....
for i in range(100):
if i%4 == 0:
......
Âé·³¸ßÊÖ½â´ðһϠллÁË ÎÒÊÇÐÂÊÖ Ò»Ð©¸ÅÄ²»Ì«Çå³þ¡£¡£¡£
pyodbc is a Python module that allows you to use ODBC to connect to almost any database from Windows, Linux, OS/X, and more.
pyodbcÊÇ ......