Traceback (most recent call last):
File "C:\test.py", line 80, in <module>
cur.execute("update userdata set kb=0 where strAccountID='%s'" % name)
File "C:\Python25\Lib\site-packages\pymssql.py", line 196, in execute
raise Op ......
Àà:
class Test:
def __init__(self,num1,num2):
print num1,num2
ÓÃʲôº¯ÊýÄܲ鿴 TestÀàÓÐÁ½¸ö²ÎÊý
ÄܲéÂð ËÖªµÀ
ÓÃdir ºÍinfoÖÇÄܲ鿴ÊôÐԺͷ½·¨
лл.................
......
code:
remote = urllib.urlopen(remote_file)
local_file = open(local_path_name, "wb")
local_file.write(remote.read())
ÎÊÌâ:
ÓÃÕâÖÖ·½Ê½¿ÉÒԺܺõÄÏÂÔØÔ¶³ÌÎļþ, ÏÖÔÚÐèÒª¼ÓÈëÒ»¸ö½ø¶ÈÏÔʾµÄ¹¦ÄÜ, ÀàËÆÓÚÏÂÔØÈí¼þÒ»Ñù, ÏÔʾ³öÏÂÔصİٷֱÈ, ÇëÎÊÔõô×ö?
¿ÖŲ»ÐÐ!Äã¿ÉÒÔ²éÒ»ÏÂurllibÏà¹ØÎĵµ,Èç¹ûÓÐÓë ......
ѧϰPyQt£¬·¢ÏÖÆäÖÐÒ»¶Î½Å±¾ÊÇÕâÑùµÄ£º
class Form(QDialog):
........
amountLabel = QLabel("Amount")
self.amountLabel = QLabel()
........
pythonÖеÄÀàÖÐÊôÐÔÔªËؼÓself.ºÍ²»¼Óself.µÄÇø±ðÊÇʲô£¿ÕâÁ½¸ö±äÁ¿¶¼ÔÚÀඨÒåÖС£
Ò»ÑùµÄ,Èç¹ûÄã²»¼Ó,½âÊÍÆ÷Ò²»á°ïÄã¼ ......
ËÓÐpython django ¿ª·¢µÄ³ÌÐò »òÕßÖªµÀÄÄÓÐ
¸æËßÏ ÎÒÒªÒ»¸ö¿ªÔ´µÄ³ÌÐòѧϰÓà ¸Ð¾õ×Ô¼º±à³ÌºÜ²»¹æ·¶
µã»÷²é¿´¡¶Django Web ¿ª·¢Ö¸ÄÏ¡·
http://www.ibm.com/developerworks/cn/linux/l-django/
Äã˵µÄÊÇdjango bookÄDZ¾Êé°É ÄDZ¾ÎÒ¿´ÁË ºìÉ«µÄ
ÒýÓÃ
Äã˵µÄÊÇdjango bookÄDZ¾Êé°É ÄDZ¾ÎÒ¿´ÁË ºìÉ«µÄ
¶Ô£¬¾ÍÊÇ ......
תÌû£º
import sys
from wxPython.wx import *
from wxPython.lib import newevent
DispatchEvent, EVT_DISPATCH = newevent.NewEvent()
class GenericDispatchMixin:
def __init__(self):
EVT_DISPATCH(self, self.OnDispatchEvent)
def OnDispatchEvent(self, event):
  ......
×ܼǼÊý:175; ×ÜÒ³Êý:30; ÿҳ6 Ìõ;
Ê×Ò³ ÉÏÒ»Ò³ 1
[2] [3] [4] [5] [6] [7] [8] [9] [10] ÏÂÒ»Ò³ βҳ