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

pythonµÄÒýÓüÆÊý

ÎÒÓÃÁËdef CreateMyDialog(self):
        dlg = MyDialog(None, -1, ''.decode('utf8'), (300,300), (300,200), wx.DEFAULT_DIALOG_STYLE | wx.DIALOG_NO_PARENT )
        count1 = sys.getrefcount(dlg)
        dlg.Show()
ÎÒÔÚÒ»¸öº¯ÊýÀïÃæ´´½¨ÁËÒ»¸ö¶Ô»°¿ò µÃµ½µÄ¼ÆÊýÊÇ4 Ϊʲô²»ÊÇ1ÄØ
½âÊÍÐÔÓïÑÔÄÜ×öµÃµ½1ô£¿

ÒýÓÃ
½âÊÍÐÔÓïÑÔÄÜ×öµÃµ½1ô£¿

ÄÜÏêϸ˵һÏÂÂð

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

°ïÎÒ¶¥Ò»ÏÂÌû×Ó°¡ ¶¼³ÁÁË


Ïà¹ØÎÊ´ð£º

python Òì³£Í˳ö

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

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

python.exeÓöµ½ÎÊÌâÐèÒª¹Ø±Õ¡£ÎÒÃǶԴËÒýÆðµÄ²»±ã±íʾ±§Ç¸ ......

python»·¾³±äÁ¿ÎÊÌâ

ÎÒ°Ñpython°²×°µ½ÁËC:\Python25
È»ºóÔÚWindows 7ϵͳ±äÁ¿µÄpathÖÐÌí¼ÓÁË C:\Python25;
È»ºóÖØÆôµçÄÔ
È»ºóÔÚcmdÖмüÈëpython»òPython¶¼ÎÞЧ¡£

ÕâÊÇΪʲô£¿
Windows 7»¹Ã»Óùý£¬

Äã¾ÍÖ±½ÓÓà ......

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

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


һС´é²»Ã ......

Python Unicode±àÂëÎÊÌâ

Ç°¼¸Ìì¸Õ¸Õ½Ó´¥Python£¬ºÃ¶àÎÊÌâ²»Ã÷°×
´úÂëÈçÏ£¬¿ÉÒÔÕý³£Êä³ösheetname.Èç¹û°Ñ±àÂ뷽ʽ¸Ä³Éutf16¾Í»á±¨´í
TypeError: compile() expected string without null bytes
ÇëÎÊÊÇΪʲô£¿
»¹ÓÐÊä³öµØÄÚÈÝÊÇ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ