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

python Òì³£Í˳ö

×î½üÓÃpythonдһ¸ö³ÌÐò,×ÜÊÇÒì³£Í˳ö£¬µ«ÊÇȴû·¨ÓÃtry..exceptÀ´²¶×½

ÓÉÓÚû·¨·¢Í¼Æ¬£¬ËùÒÔ°ÑÏà¹ØµÄÐÅÏ¢´òÓ¡³öÀ´
Òì³£µÄÐÅÏ¢´óÖÂÈçÏ£º

python.exeÓöµ½ÎÊÌâÐèÒª¹Ø±Õ¡£ÎÒÃǶԴËÒýÆðµÄ²»±ã±íʾ±§Ç¸¡£
Èç¹ûÄúÕý´¦ÓÚ½ø³Ìµ±ÖУ¬ÐÅÏ¢ÓпÉÄܶªÊ§¡£
¶ÔÓÚ´Ë´íÎóµÄÆäËûÐÅÏ¢£¬  Çëµ¥»÷´Ë´¦¡£

µ÷ÊÔ                          ¹Ø±Õ


²»ÖªÄÄλ¸çÃÇÓÐûÓÐÓöµ½¹ýͬÑùµÄÎÊÌ⣬ÓеĻ°¸øСµÜÖ¸µãÒ»¶þ£¬²»Ê¤¸Ð¼¤£¡

ÊÔ×Å»»¸öpython°æ±¾¿´¿´£¬ÕâÇé¿ö´óÔ¼ÊÇpython×ÔÉíµÄbug

ÎÒÓõÄÊÇ2.6µÄ£¬²»ÖªÊÇ·ñÕâ¸ö°æ±¾²»Îȶ¨¡£

ÄÇ»»2.5»òÕß3.0ÊÔÊÔÄØ£¿

ËƺõЧ¹û²»Ã÷ÏÔ£¬»¹ÊÇ»á³öÏÖÏàͬµÄÒì³££¬Ä¿Ç°»¹Î´ÕÒµ½ÕæÕýµÄÔ­Òò£¬ÇëÎʸ÷λÓÐûÓÐÓöµ½¹ýÀàËƵÄÎÊÌ⣿

Ã÷ÏÔÊÇ×Ô¼º´úÂëÎÊÌâÁË¡£

ÌùÏ´úÂë¿´¿´£¿

ÉÏ´úÂëÓÀÔ¶ÊÇ×îºÃµÄÇóÎÊ·½Ê½

43842050 Python,c/c++Ⱥ£¬ÓÐÖ¾ÏëѧPython,CºÍC++µÄÅóÓÑÇë¼ÓÈëȺ¡£

´úÂëÁ¿»¹ÊÇͦ´óµÄ£¬ÎÒÒ²»³ÒÉÊÇ×Ô¼ºµÄ´úÂëÓÐÎÊÌ⣬¾ÍÊÇÏëÇëÎÊһϣ¬ÊÇ·ñÆäËûÈËÓйýÀàËƵÄÒì³££¬Ð»Ð»¸÷λµÄ°ïÖúÁË¡£

ºÙºÙ£¬¹Ø×¢ÏÂ....

ÎÒÒ²ÓÐÕâ¸öÇé¿ö£¬½¨ÒéʹÓÃpythonÎȶ¨°æ±¾£¬
ÎÒ֮ǰÓõÄ2.6.3¾Í×ÜÊÇ×Ô¼ºÍ˳ö

¹À¼ÆÄãÓÃÁËһЩµÚÈý·½µÄ¿â°É£¬±ÈÈçPyQTÖ®ÀàµÄ£¬ÎÒÒ²Åöµ½¹ý¡£

»ù±¾ÉÏûÓÐÓõ½µÚÈý·½¿â,²»¹ý»¹ÊǷdz£¸ÐлÄãµÄÌáÐÑ!

與´ú碼ÓÐ關£¬與python無關¡£
´ú碼Á¿´ó¸üÓÐ這個¿ÉÄÜÐÔ¡£
Ò»²½²½蹤試Ï¡£

ctypes?

¿ÉÄܲ»ÊÇ´úÂëµÄÎÊÌ⣬¶


Ïà¹ØÎÊ´ð£º

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

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

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

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

python Îļþ±¸·Ý´íÎó

#! c:\python26
# Filename: backup_ver1.py
import os
import time
source=[r'C:\test', r'C:\test1']
target_dir='D:\\back\\'
target=target_dir+time.strftime('%Y%m%d%H%M%S')+'.zip'
zip_command=" ......

Python±à³ÌÎÊÌ⣬¿ÒÇë¸ßÊÖ½â»ó

×î½üÃÔÉÏÁËPython£¬ÔÚ˼¿¼ÔõÑùÓÃPythonд¸ö³ÌÐòʵÏÖ¶ÔÖ¸¶¨ÍøÂç¶Ë¿ÚµÄÊý¾Ý°üµÄץȡºÍ½âÎö£¬¿ÒÇë¸ßÊÖÖ¸½Ì£¡£¡

ÄãºÃ£¡
Ê×ÏÈ£¬ÊµÏÖ²¶°üµÄ¹¦ÄÜÐèҪʹÓÃwincap£¨windowsÏ£©£¬»òÕßlibpcap£¨LinuxÏ£©¡£
¶øPythonÌṩÁ ......

ÈçºÎ½«Ò»¶ÎPython´úÂëÉú³É¿â

ÈçºÎ½«PythonдµÄÒ»¶Î´úÂëÉú³ÉpydÐÎʽµÄ¿â?
ÎÒÖªµÀµÄ·½·¨ÓУº½«Õâ¶ÎPython´úÂëÀ©Õ¹³ÉC´úÂ룬Ȼºóͨ¹ýVC½«Õâ¶ÎC´úÂëÉú³Éºó׺Ϊ.pydµÄ¶¯Ì¬Á´½Ó¿â¡£
²»ÏëÓÃÕâô±¿µÄ·½·¨£¬ÇëÎÊÓÐûÓбȽϼòµ¥µÄ·½·¨£¿Ð»Ð»£¡
¶¥Ò»Ï£¬ ......

pythonÏ߳̽»Á÷ - °¤ÌßÖ°ÑÄ / ²ÅÈëÖ°³¡

תÌû£º
import sys
from wxPython.wx import *
from wxPython.lib import newevent
DispatchEvent, EVT_DISPATCH = newevent.NewEvent()
class GenericDispatchMixin:
  def __init__(self):
  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ