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

eric4ÔõôÔËÐÐpython³ÌÐò£¿

pythonºÍpyqtÒÔ¼°Eric4¶¼ÒѾ­ÅäÖúÃÁË£¬´ò¿ªEric4д¸öpython³ÌÐò±ÈÈç¼òµ¥µÄ

print¡°hello£¬world¡±£¬Ôõô±àÒëÔËÐÐÁË£¬Start²Ëµ¥µÄËùÓÐÃüÁ³öÏÖºÍͼÖв¶àµÄ¶Ô»°¿ò£¬Ó¦µ±ÔõôÔËÐÐÁË£¿

Çó´ó¼ÒÖ¸½Ì

ûÓÐÈËÓÃEric4Âð


Ïà¹ØÎÊ´ð£º

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

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

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

¼ÙÈ ......

Ë­ÄܸøÎÒÍƼöÒ»±¾ÊʺÏÎÒµÄPythonÊ飿

ÎÒÓÐC/C++£¬JAVAµÄ»ù´¡£¬µ«Ã»Óлù´¡¹ý½Å±¾ÓïÑÔ£¬ÔÚÍøÉÏÕÒµç×ÓÊé¸Ð¾õ¿´ÆðÀ´²»Ë¬£¬ÈÏΪ»¹ÊÇӡˢƷ×Ô¼º±È½Ïϲ»¶£¬Ë­ÄܸøÎÒÍƼöÒ»±¾ÕâÑùµÄPythonÊ飺
1.´Ó»ù´¡½²Æð£¬ÒÔÉîÈë½áÊø
2.ʵÓÃÖÁÉÏ£¬ÀíÂÛÍ걸
3.×îºÃÊ ......

ÓÃpython½øÐÐÎļþ±È½ÏµÄÎÊÌâ

ÔÚPython for unix and linux System AdministrationÕâ±¾ÊéµÄµÚ6ÕµÄComparing DataÒ»½ÚÌáµ½ÓÃfilecmpÕâ¸öÄ£¿éµÄcmpº¯ÊýÀ´ÅжÏ2¸öÎļþÊÇ·ñÏàͬ¡£

ÈçÏÂËùʾ£º
Python code:

import filecmp
filecmp.c ......

¹ØÓÚC#ÓëpythonµÄÎÊÌâ

ÎÒÏëÓÃpythonд·þÎñ¶Ë£¬C#д¿Í»§¶Ë£¬ÁíÍâÏë°Ñ¿Í»§¶ËC#ÖеĶÔÏóÐòÁл¯ºó´«¸ø·þÎñ¶Ë£¬ÓÃpython·´ÐòÁл¯ºóÖؽ¨¶ÔÏ󣬲»ÖªµÀÓÐûÓÐÕâ¸ö¿ÉÄÜ£¿Èç¹ûÓпÉÄÜÄÜ·ñÌṩ¸ö˼·£¿
Ò»ÇнÔÓпÉÄÜ¡£
˼·ÄãÒѾ­ËµµÄͦÇå³þµÄÁË¡£ ......

ÇëÎÊpythonºÍpyodcÓÐʲôÇø±ð

Âé·³¸ßÊÖ½â´ðһϠллÁË ÎÒÊÇÐÂÊÖ Ò»Ð©¸ÅÄ²»Ì«Çå³þ¡£¡£¡£
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ÊÇ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ