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ô£¿
ÄÜÏêϸ˵һÏÂÂð
43842050 Python,c/c++Ⱥ£¬ÓÐÖ¾ÏëѧPython,CºÍC++µÄÅóÓÑÇë¼ÓÈëȺ¡£
°ïÎÒ¶¥Ò»ÏÂÌû×Ó°¡ ¶¼³ÁÁË
Ïà¹ØÎÊ´ð£º
×î½üÓÃpythonдһ¸ö³ÌÐò,×ÜÊÇÒì³£Í˳ö£¬µ«ÊÇȴû·¨ÓÃtry..exceptÀ´²¶×½
ÓÉÓÚû·¨·¢Í¼Æ¬£¬ËùÒÔ°ÑÏà¹ØµÄÐÅÏ¢´òÓ¡³öÀ´
Òì³£µÄÐÅÏ¢´óÖÂÈçÏ£º
python.exeÓöµ½ÎÊÌâÐèÒª¹Ø±Õ¡£ÎÒÃǶԴËÒýÆðµÄ²»±ã±íʾ±§Ç¸ ......
ÎÒ°Ñpython°²×°µ½ÁËC:\Python25
È»ºóÔÚWindows 7ϵͳ±äÁ¿µÄpathÖÐÌí¼ÓÁË C:\Python25;
È»ºóÖØÆôµçÄÔ
È»ºóÔÚcmdÖмüÈëpython»òPython¶¼ÎÞЧ¡£
ÕâÊÇΪʲô£¿
Windows 7»¹Ã»Óùý£¬
Äã¾ÍÖ±½ÓÓà ......
ºÇºÇ, ×òÌì¼ÁËLet's PythonµÄµÚÒ»¼¯, µÚÒ»´Î¼, ûɶ¾Ñé, ÓõÄÊÇCamtasia Studio, ½á¹ûÒ»¼¯Â¼ÁË85·ÖÖÓ, ¸ã800¶àM, ûµØ·½´«ÁË, ÄÄλÓкõãµÄÃâ·Ñ¿Õ¼ä, ·ÖÏíÒ»¸ö°¡.....ÒªÖ§³Ö¶ÏµãÐø´«µÄ°¡.
һС´é²»Ã ......
Ç°¼¸Ìì¸Õ¸Õ½Ó´¥Python£¬ºÃ¶àÎÊÌâ²»Ã÷°×
´úÂëÈçÏ£¬¿ÉÒÔÕý³£Êä³ösheetname.Èç¹û°Ñ±àÂ뷽ʽ¸Ä³Éutf16¾Í»á±¨´í
TypeError: compile() expected string without null bytes
ÇëÎÊÊÇΪʲô£¿
»¹ÓÐÊä³öµØÄÚÈÝÊÇ ......