锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲成av人片天堂网老年人,亚洲色在线无码国产精品不卡,亚洲一区二区三区乱码Ahttp://m.tkk7.com/joinose/category/9439.htmlzh-cnWed, 28 Feb 2007 21:11:47 GMTWed, 28 Feb 2007 21:11:47 GMT60[MyDemo]榧犳爣浜嬩歡婕旂ず紼嬪簭http://m.tkk7.com/joinose/archive/2006/06/14/52711.html姘存櫠楸?/dc:creator>姘存櫠楸?/author>Wed, 14 Jun 2006 05:53:00 GMThttp://m.tkk7.com/joinose/archive/2006/06/14/52711.htmlhttp://m.tkk7.com/joinose/comments/52711.htmlhttp://m.tkk7.com/joinose/archive/2006/06/14/52711.html#Feedback0http://m.tkk7.com/joinose/comments/commentRss/52711.htmlhttp://m.tkk7.com/joinose/services/trackbacks/52711.html榧犳爣縐誨姩鍗蟲樉紺洪紶鏍囧潗鏍?br />
JoinoseDemo_EVT_MOTION



]]>
[FAQ]濡傛灉鎴戞兂鍦ㄥ悓涓涓被涓叡鐢ㄤ竴涓彉閲忥紝浣嗕笉甯屾湜瀛愮被緇ф壙錛岃鎬庝箞鍔炲憿錛?/title><link>http://m.tkk7.com/joinose/archive/2006/06/08/51431.html</link><dc:creator>姘存櫠楸?/dc:creator><author>姘存櫠楸?/author><pubDate>Thu, 08 Jun 2006 10:08:00 GMT</pubDate><guid>http://m.tkk7.com/joinose/archive/2006/06/08/51431.html</guid><wfw:comment>http://m.tkk7.com/joinose/comments/51431.html</wfw:comment><comments>http://m.tkk7.com/joinose/archive/2006/06/08/51431.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/joinose/comments/commentRss/51431.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/joinose/services/trackbacks/51431.html</trackback:ping><description><![CDATA[闂?濡傛灉鎴戞兂鍦ㄥ悓涓涓被涓叡鐢ㄤ竴涓彉閲忥紝浣嗕笉甯屾湜瀛愮被緇ф壙錛岃鎬庝箞鍔炲憿錛?br />絳?閭e氨鍦ㄧ被涓皢榪欎釜鍙橀噺鍔犱笂global淇グ絎?<br />紺轟緥浠g爜涓?<br />1)x鍙綾籶arent鍐呴儴浣跨敤,浣嗕笉鑳借瀛愮被璋冪敤<br />2)y鐨勪綔鐢ㄥ煙鍙槸鍦╬arent.__init__鏂規硶鍐?br />3)z鍙綾籶arent鍐呴儴浣跨敤涔熷彲琚瓙綾昏皟鐢?br />紺轟緥浠g爜濡備笅:<br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img id="Code_Closed_Image" onclick="this.style.display='none'; Code_Closed_Text.style.display='none'; Code_Open_Image.style.display='inline'; Code_Open_Text.style.display='inline';" height="16" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" width="11" align="top" /><img id="Code_Open_Image" style="DISPLAY: none" onclick="this.style.display='none'; Code_Open_Text.style.display='none'; Code_Closed_Image.style.display='inline'; Code_Closed_Text.style.display='inline';" height="16" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" width="11" align="top" /><span id="Code_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">testGlobal.py</span><span id="Code_Open_Text" style="DISPLAY: none"><br /><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="COLOR: #008080">聽1</span><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #008000">#</span><span style="COLOR: #008000">!/usr/bin/python</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">聽2</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />#</span><span style="COLOR: #008000">聽-*-聽coding:聽utf-8聽-*-</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">聽3</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />#</span><span style="COLOR: #008000">聽Filename:聽testGlobal.py</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">聽4</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />#</span><span style="COLOR: #008000">聽Author聽聽:聽姘存櫠楸?/span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">聽5</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />#</span><span style="COLOR: #008000">聽Date聽聽聽聽:聽2006-06-08</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">聽6</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000">聽parent:<br /></span><span style="COLOR: #008080">聽7</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">global</span><span style="COLOR: #000000">聽x聽聽聽聽</span><span style="COLOR: #008000">#</span><span style="COLOR: #008000">榪欏氨鏄彧鑳戒緵綾誨唴閮ㄤ嬌鐢ㄧ殑鍙橀噺,瀛愮被涓嶈兘璁塊棶</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">聽8</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽x</span><span style="COLOR: #000000">=</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">xxxx</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">聽聽聽聽</span><span style="COLOR: #008000">#</span><span style="COLOR: #008000">娉ㄦ剰:璧嬪間笌瀹氫箟瑕佸垎寮鍐?/span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">聽9</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽</span><span style="COLOR: #0000ff">def</span><span style="COLOR: #000000">聽</span><span style="COLOR: #800080">__init__</span><span style="COLOR: #000000">(self):<br /></span><span style="COLOR: #008080">10</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽y</span><span style="COLOR: #000000">=</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">yyyy</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">11</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽self.z</span><span style="COLOR: #000000">=</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">zzzz</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">12</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">def</span><span style="COLOR: #000000">聽test(self):<br /></span><span style="COLOR: #008080">13</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000">聽</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">test.x=</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">x<br /></span><span style="COLOR: #008080">14</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">15</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000">聽child(parent):<br /></span><span style="COLOR: #008080">16</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">def</span><span style="COLOR: #000000">聽</span><span style="COLOR: #800080">__init__</span><span style="COLOR: #000000">(self):<br /></span><span style="COLOR: #008080">17</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽parent.</span><span style="COLOR: #800080">__init__</span><span style="COLOR: #000000">(self)<br /></span><span style="COLOR: #008080">18</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /></span><span style="COLOR: #008080">19</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽</span><span style="COLOR: #800080">__name__</span><span style="COLOR: #000000">==</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">__main__</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">20</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #008000">#</span><span style="COLOR: #008000">璇曞浘璁塊棶瀹炰緥涓殑x聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">21</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽p</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">parent()<br /></span><span style="COLOR: #008080">22</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">try</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">23</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000">聽p.x<br /></span><span style="COLOR: #008080">24</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">except</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">25</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000">聽</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">1.涓嶈兘鐩存帴璁塊棶瀹炰緥涓殑global鍙橀噺</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">26</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /></span><span style="COLOR: #008080">27</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #008000">#</span><span style="COLOR: #008000">鍙互渚涚被涓叾瀹冩柟娉曡闂?</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">28</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽</span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000">聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">2.閫氳繃test鏂規硶鎵嶅彲浠ヨ闂畑:</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">29</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽p.test()<br /></span><span style="COLOR: #008080">30</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /></span><span style="COLOR: #008080">31</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽c</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">child()<br /></span><span style="COLOR: #008080">32</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #008000">#</span><span style="COLOR: #008000">璇曞浘璁塊棶鐖剁被涓殑鍙橀噺----x,緇撴灉鏄?澶辮觸</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">33</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽</span><span style="COLOR: #0000ff">try</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">34</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000">聽c.x<br /></span><span style="COLOR: #008080">35</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">except</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">36</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000">聽</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">3.涓嶈兘璁塊棶鐖剁被涓殑global鍙橀噺</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">37</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">38</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000">聽</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">4.浣嗗彲浠ラ氳繃鐖剁被涓殑test鏂規硶寰楀埌:</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">39</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽c.test()<br /></span><span style="COLOR: #008080">40</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /></span><span style="COLOR: #008080">41</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000">聽</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">5.鍙互璁塊棶鐖剁被涓殑self鍙橀噺</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">,c.z</span></span></div><br />紺轟緥浠g爜杈撳嚭緇撴灉涓?<br />C:\Documents and Settings\Administrator\妗岄潰>testGlobal.py<br />1.涓嶈兘鐩存帴璁塊棶瀹炰緥涓殑global鍙橀噺<br />2.閫氳繃test鏂規硶鎵嶅彲浠ヨ闂畑: test.x=xxxx<br />3.涓嶈兘璁塊棶鐖剁被涓殑global鍙橀噺<br />4.浣嗗彲浠ラ氳繃鐖剁被涓殑test鏂規硶寰楀埌: test.x=xxxx<br />5.鍙互璁塊棶鐖剁被涓殑self鍙橀噺 zzzz<img src ="http://m.tkk7.com/joinose/aggbug/51431.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/joinose/" target="_blank">姘存櫠楸?/a> 2006-06-08 18:08 <a href="http://m.tkk7.com/joinose/archive/2006/06/08/51431.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[FAQ]鎬庢牱鎺㈡祴涓涓彉閲忔槸鍚﹀瓨鍦?http://m.tkk7.com/joinose/archive/2006/06/06/50907.html姘存櫠楸?/dc:creator>姘存櫠楸?/author>Tue, 06 Jun 2006 13:09:00 GMThttp://m.tkk7.com/joinose/archive/2006/06/06/50907.htmlhttp://m.tkk7.com/joinose/comments/50907.htmlhttp://m.tkk7.com/joinose/archive/2006/06/06/50907.html#Feedback0http://m.tkk7.com/joinose/comments/commentRss/50907.htmlhttp://m.tkk7.com/joinose/services/trackbacks/50907.html
聽 Eyes 19:58:18
鎬庢牱鎺㈡祴涓涓彉閲忔槸鍚﹀瓨鍦?
姘存櫠楸?20:17:03
錛?
聽 Eyes 20:17:30
鎴戞兂鐭ラ亾涓涓彉閲忔槸鍚﹀瓨鍦?
姘存櫠楸?20:17:53
鏈夊姙娉曠殑
聽 Eyes 20:18:02
璇村晩
姘存櫠楸?20:18:29
local瀛楀吀
姘存櫠楸?20:18:50
locals()
聽 Eyes 20:19:04
璋㈣阿聽
姘存櫠楸?20:19:51

渚嬪瓙錛?br />
鎬庢牱鎺㈡祴涓涓彉閲忔槸鍚﹀瓨鍦?


]]>
[Interest]ClinicOS(10)錛氱梾鍘嗙粍鍚堟煡璇?/title><link>http://m.tkk7.com/joinose/archive/2006/05/27/48486.html</link><dc:creator>姘存櫠楸?/dc:creator><author>姘存櫠楸?/author><pubDate>Sat, 27 May 2006 07:48:00 GMT</pubDate><guid>http://m.tkk7.com/joinose/archive/2006/05/27/48486.html</guid><wfw:comment>http://m.tkk7.com/joinose/comments/48486.html</wfw:comment><comments>http://m.tkk7.com/joinose/archive/2006/05/27/48486.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/joinose/comments/commentRss/48486.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/joinose/services/trackbacks/48486.html</trackback:ping><description><![CDATA[ <font color="#0000ff">銆愭湰鏈熷璇匯?/font>鐥呭巻緇勫悎鏌ヨ<br />鐥呭巻緇勫悎鏌ヨ榪欎釜妯″潡娌℃湁閬囧埌浠涔堝ぇ鐨勫洶闅撅紝涓昏鏄冭檻鐨勬槸鎬庝箞瀹炵幇緇勫悎鏌ヨ榪欎釜鍔熻兘錛岃繖閲屾垜鏄嬌鐢ㄥ姩鎬乻ql鐨勬柟寮忥紝灝嗘煡璇㈠啓鎴愪竴涓鍥撅紝鐒跺悗鏍規嵁緇勫悎鏌ヨ鐣岄潰杈撳叆鐨勬潯浠訛紝鐢熸垚sql錛岀劧鍚庢墽琛屾煡璇紝榪斿洖緇撴灉鐨勬樉紺哄悓鈥滃綋澶╃櫥璁頒竴瑙堣〃鈥濇ā鍧椾竴鏍楓?br />緇勫悎鏌ヨ涓氬姟瀹炵幇鏂規硶浠g爜錛?br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img id="Code_Closed_Image" onclick="this.style.display='none'; Code_Closed_Text.style.display='none'; Code_Open_Image.style.display='inline'; Code_Open_Text.style.display='inline';" height="16" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" width="11" align="top" /><img id="Code_Open_Image" style="DISPLAY: none" onclick="this.style.display='none'; Code_Open_Text.style.display='none'; Code_Closed_Image.style.display='inline'; Code_Closed_Text.style.display='inline';" height="16" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" width="11" align="top" /><span id="Code_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">鐥呭巻緇勫悎鏌ヨ</span><span id="Code_Open_Text" style="DISPLAY: none"><br /><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="COLOR: #008080">聽聽1</span><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #000000">聽聽聽聽</span><span style="COLOR: #0000ff">def</span><span style="COLOR: #000000">聽listPatientInfo(self,conditions</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">{</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">idtype</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽聽2</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">identityid</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽聽3</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">patientid</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽聽4</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">name</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽聽5</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">sex</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽聽6</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">birthday</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽聽7</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">address</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽聽8</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">age</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽聽9</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">registrationid</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽10</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">diseases</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽11</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">description</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽12</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">suggestion</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽13</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">start</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:(),<br /></span><span style="COLOR: #008080">聽14</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">operator</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽15</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">regtime</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:(),<br /></span><span style="COLOR: #008080">聽16</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">meds</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">}):<br /></span><span style="COLOR: #008080">聽17</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">"""</span><span style="COLOR: #800000"><br /></span><span style="COLOR: #008080">聽18</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽鐥呭巻緇勫悎鏌ヨ<br /></span><span style="COLOR: #008080">聽19</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">"""</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">聽20</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /></span><span style="COLOR: #008080">聽21</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">=</span><span style="COLOR: #800000">"""</span><span style="COLOR: #800000"><br /></span><span style="COLOR: #008080">聽22</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽select聽distinct聽p.registrationid,p.patientid,p.idtype,p.identityid,p.patientname,<br /></span><span style="COLOR: #008080">聽23</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽p.birthday,p.sex,p.address,p.description,<br /></span><span style="COLOR: #008080">聽24</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽p.start,p.suggestion,p.operatorname,p.time<br /></span><span style="COLOR: #008080">聽25</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽from聽v_patientinfo聽p<br /></span><span style="COLOR: #008080">聽26</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽where聽1=1聽<br /></span><span style="COLOR: #008080">聽27</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">"""</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">聽28</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">idtype</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽29</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">idtype</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">聽30</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.idtype='%s'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">idtype</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽31</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">聽32</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">identityid</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽33</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">identityid</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">聽34</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.identityid='%s'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">identityid</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽35</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">聽36</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">patientid</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽37</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">patientid</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">聽38</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.patientid='%s'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">patientid</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽39</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">聽40</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">name</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽41</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">name</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">聽42</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.patientname='%s'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">name</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽43</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">聽44</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">sex</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽45</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">sex</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">:聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">聽46</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.sex=%s</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">sex</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽47</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">聽48</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">birthday</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽49</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">birthday</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">聽50</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.birthday='%s'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">birthday</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽51</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">聽52</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">address</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽53</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">address</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">聽54</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.address聽like聽'%%%s%%'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">address</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽55</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #008000">#</span><span style="COLOR: #008000">#TODO:鎸夊勾榫勬煡璇?/span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">聽56</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />#</span><span style="COLOR: #008000">#聽聽聽聽聽聽聽聽if聽conditions.has_key('age'):</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">聽57</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />#</span><span style="COLOR: #008000">#聽聽聽聽聽聽聽聽聽聽聽聽if聽conditions.get('age')<>'':</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">聽58</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />#</span><span style="COLOR: #008000">#聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql+="聽and聽p.age='"+conditions.get('age')+"'"</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">聽59</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">registrationid</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽60</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">registrationid</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">聽61</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.registrationid='%s'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">registrationid</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽62</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /></span><span style="COLOR: #008080">聽63</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">diseases</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽64</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">diseases</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">聽65</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.diseasetype='%s'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">diseases</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽66</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">聽67</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">description</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽68</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">description</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">聽69</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.description聽like聽'%%%s%%'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">description</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽70</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">聽71</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">suggestion</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽72</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">suggestion</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">聽73</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.suggestion聽like聽'%%%s%%'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">suggestion</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽74</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">聽75</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">start</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽76</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">start</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #000000">():<br /></span><span style="COLOR: #008080">聽77</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.start聽between聽'%s'聽and聽'%s'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽(conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">start</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)[0],conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">start</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)[</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">])<br /></span><span style="COLOR: #008080">聽78</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">聽79</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">meds</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽80</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">meds</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">聽81</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.medname='%s'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">meds</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽82</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">聽83</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">operator</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽84</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">operator</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">聽85</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.operatorname='%s'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">operator</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽86</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">聽87</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.has_key(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">regtime</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">):<br /></span><span style="COLOR: #008080">聽88</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">regtime</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000"><></span><span style="COLOR: #000000">():<br /></span><span style="COLOR: #008080">聽89</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽p.time聽between聽'%s'聽and聽'%s'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">聽(conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">regtime</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)[0],conditions.get(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">regtime</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)[</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">])<br /></span><span style="COLOR: #008080">聽90</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /></span><span style="COLOR: #008080">聽91</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">+=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽order聽by聽p.registrationid,p.patientid</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">聽92</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽result</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">self.execute(sql)<br /></span><span style="COLOR: #008080">聽93</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /></span><span style="COLOR: #008080">聽94</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽colname</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">鎸傚彿</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">鐥呬漢緙栧彿</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">璇佷歡綾誨瀷</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">璇佷歡鍙風爜</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">濮撳悕</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽95</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">鍑虹敓鏃ユ湡</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">鎬у埆</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">灞呬綇鍦板潃</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">鐥呯棁鎻忚堪</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">,<br /></span><span style="COLOR: #008080">聽96</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">鐢熺梾鏃墮棿</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">鍖葷敓寤鴻</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">鎿嶄綔鍛?/span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">鐧昏鏃墮棿</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽97</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽total</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">璁板綍鏁幫細</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">,str(len(result))</span><span style="COLOR: #000000">+</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">鏉?/span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">聽98</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽result.insert(0,colname)<br /></span><span style="COLOR: #008080">聽99</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽result.append(total)<br /></span><span style="COLOR: #008080">100</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽result</span></span></div>浠ヤ笅鏄粍鍚堟煡璇㈡ā鍧楁埅鍥撅細<br /><img style="WIDTH: 514px; HEIGHT: 512px" height="706" alt="ZHCX_1.JPG" src="http://m.tkk7.com/images/blogjava_net/joinose/ZHCX_1.JPG" width="734" border="0" /><img style="WIDTH: 519px; HEIGHT: 461px" height="684" alt="ZHCX_2.JPG" src="http://m.tkk7.com/images/blogjava_net/joinose/ZHCX_2.JPG" width="841" border="0" /><img style="WIDTH: 517px; HEIGHT: 642px" height="690" alt="ZHCX_3.JPG" src="http://m.tkk7.com/images/blogjava_net/joinose/ZHCX_3.JPG" width="685" border="0" /><br />鑷蟲錛岀梾鍘嗙鐞嗘ā鍧楀熀鏈姛鑳藉畬鎴?br /><font color="#0000ff">銆愪笅鏈熸彁紺恒?/font><font color="#000000">瀹屾垚瀛楀吀緇存姢</font><img src ="http://m.tkk7.com/joinose/aggbug/48486.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/joinose/" target="_blank">姘存櫠楸?/a> 2006-05-27 15:48 <a href="http://m.tkk7.com/joinose/archive/2006/05/27/48486.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[Interest]ClinicOS(09)錛氬綋澶╃櫥璁頒俊鎭竴瑙堣〃http://m.tkk7.com/joinose/archive/2006/05/18/46914.html姘存櫠楸?/dc:creator>姘存櫠楸?/author>Thu, 18 May 2006 14:15:00 GMThttp://m.tkk7.com/joinose/archive/2006/05/18/46914.htmlhttp://m.tkk7.com/joinose/comments/46914.htmlhttp://m.tkk7.com/joinose/archive/2006/05/18/46914.html#Feedback0http://m.tkk7.com/joinose/comments/commentRss/46914.htmlhttp://m.tkk7.com/joinose/services/trackbacks/46914.html銆愭湰鏈熷璇匯?/font>瀹屾垚褰撳ぉ鐧昏淇℃伅涓瑙?
鍦ㄥ仛銆愬綋澶╃櫥璁頒俊鎭竴瑙堛戣繖涓ā鍧楁椂錛岀粨鍚堝鉤鏃剁殑嫻嬭瘯緇忛獙錛岃璁¤〃鐜板艦寮忥紝鍐沖畾鐢╳x.Notebook鏉ュ仛鏁版嵁鏄劇ず錛岀涓欏墊樉紺哄垪琛紝絎簩欏墊樉紺哄垪琛ㄤ腑閫変腑璁板綍鐨勮緇嗕俊鎭?br />鍒楄〃欏典嬌鐢╳x.ListCtrl鏉ユ樉紺烘暟鎹紝榪欓噷涓烘眰蹇熺畝鍗曪紝灝卞啓浜嗕竴涓狣ataListCtrl綾葷畝鍗曞湴緇ф壙浜唚x.ListCtrl榪欎釜綾伙紝涓昏鎵╁厖浜嗘暟鎹~鍏呮柟娉曪紝鑳藉皢涓涓瓧鍏告暟鎹~鍏ュ垪琛ㄣ備富瑕佺殑浠g爜鐗囨柇錛?br />

鍒氬紑濮嬫垜鎶婇変腑鍗曟潯璁板綍(OnItemSelected)鍜屽弻鍑誨崟鏉¤褰?OnDoubleClick)榪欎袱涓柟娉曚篃鍐欏湪DataListCtrl綾諱腑錛屼絾鍚庢潵鍙戠幇榪欐牱鍐欎笉澶氱敤錛屼簬鏄妸瀹冧滑鎻愬嚭鏉ュ啓鍦≒atientManageTodayListPanel榪欎釜綾諱腑錛岀劧鍚庡湪榪欓噷緇戝畾DataListCtrl鐨勫崟閫夊拰鍙屽嚮浜嬩歡銆?br />涔嬪墠閬囧埌涓涓棶棰橈細濡備綍鍦ㄥ崟鍑昏彍鍗曞悗鎵撳紑涓涓獁x.Notbook鐨凱age錛屽啀嬈″崟鍑昏繖涓彍鍗曟椂鑳借嚜鍔ㄨ煩鍒拌繖涓墦寮鐨凱age涓婏紵鏌ヨ繃wx.Notebook鐨凙PI鏂囨。錛屾病鏈夊彂鐜扮幇瀛樼殑鏌ユ壘Page鐨勬柟娉曪紝浜庢槸灝辮嚜宸辨兂鍔炴硶瑙e喅錛屽悗鏉ユ垜鏄繖鏍瘋В鍐崇殑錛?br />鐢ㄤ竴涓瓧鍏告潵璁板綍Page鏄惁鎵撳紑錛屼互鍙婂畠鐨刬ndex
鐒跺悗鍦ㄦ樉紺鴻繖涓狿age鐨勬椂鍊欐洿鏂拌繖涓瓧鍏革細
濡備綍璺沖埌鎵撳紑鐨凱age涓?/span>

鎴浘錛?br />todaydetail.jpg
todaylist.jpg
銆愪笅鏈熸彁紺恒?/font>瀹屾垚鐥呭巻緇勫悎鏌ヨ

]]>
[Interest]ClinicOS(08)錛氱梾浜鴻祫鏂欎慨鏀?/title><link>http://m.tkk7.com/joinose/archive/2006/05/16/46455.html</link><dc:creator>姘存櫠楸?/dc:creator><author>姘存櫠楸?/author><pubDate>Tue, 16 May 2006 10:14:00 GMT</pubDate><guid>http://m.tkk7.com/joinose/archive/2006/05/16/46455.html</guid><wfw:comment>http://m.tkk7.com/joinose/comments/46455.html</wfw:comment><comments>http://m.tkk7.com/joinose/archive/2006/05/16/46455.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/joinose/comments/commentRss/46455.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/joinose/services/trackbacks/46455.html</trackback:ping><description><![CDATA[     鎽樿: 銆愭湰鏈熷璇匯? 瀹屾垚鐥呬漢璧勬枡淇敼妯″潡緇堜簬鏈夌┖瀛︿範python浜嗭紝浜斾竴鏀句簡涓冨ぉ鍋囷紝鍥炲鐪嬩簡鐪嬶紝鍘熸潵涓栫晫姣忎釜瑙掕惤澶╁ぉ閮藉湪鍙樺寲錛屽氨榪炵敓鎴戝吇鎴戠殑閭d釜灝忔潙搴勪篃鏈夎緝澶х殑鍙樺寲錛屽樊鐐逛笉璁板緱鍥炲鐨勮礬浜嗐傛湰浠ヤ負榪欎釜灝忕郴緇熶笉浼氳楄垂澶鏃墮棿鐨勶紝鍙槸涓璺仛涓嬫潵鍙戠幇瀹為檯搴旂敤涓繕鏄細閬囧埌寰堝鍥伴毦鐨勩傛渶鏂板嚑澶╃湅浜嗙湅鐥呬漢璧勬枡鐧昏鐨勪唬鐮侊紝鍙戠幇涓嶅綆媧侊紝緇撴瀯涓嶅お濂斤紝浜庢槸鑺變簡涓ゅぉ鏃墮棿鏁寸悊浜嗕竴涓嬶紝鎶借薄鍑轟竴涓梾妗堢鐞嗙殑鍩虹被錛岀劧鍚庣櫥璁幫紝淇?..  <a href='http://m.tkk7.com/joinose/archive/2006/05/16/46455.html'>闃呰鍏ㄦ枃</a><img src ="http://m.tkk7.com/joinose/aggbug/46455.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/joinose/" target="_blank">姘存櫠楸?/a> 2006-05-16 18:14 <a href="http://m.tkk7.com/joinose/archive/2006/05/16/46455.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[Interest]ClinicOS(07)錛氱梾浜鴻祫鏂欑櫥璁?/title><link>http://m.tkk7.com/joinose/archive/2006/04/28/43801.html</link><dc:creator>姘存櫠楸?/dc:creator><author>姘存櫠楸?/author><pubDate>Fri, 28 Apr 2006 05:41:00 GMT</pubDate><guid>http://m.tkk7.com/joinose/archive/2006/04/28/43801.html</guid><wfw:comment>http://m.tkk7.com/joinose/comments/43801.html</wfw:comment><comments>http://m.tkk7.com/joinose/archive/2006/04/28/43801.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/joinose/comments/commentRss/43801.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/joinose/services/trackbacks/43801.html</trackback:ping><description><![CDATA[ <font color="#0000ff">銆愭湰鏈熷璇匯?font color="#000000">瀹屾垚鐥呬漢璧勬枡鐧昏妯″潡<br />浜斾竴鍓嶇湡鏄お蹇欎簡,娌$┖鐮旂┒榪欎釜緋葷粺,涓嶈繃闆墮浂紕庣鍦版湁鍋氫竴浜?浣嗕笂鑺傝鍒掕鍋氱殑瀛楀吀緇存姢妯″潡閬囧埌涓浜涙妧鏈棶棰?鏆備笖鏀懼悗澶勭悊,榪欏懆涓昏鎶?/font><font color="#000000">鐥呬漢璧勬枡鐧昏妯″潡鐨勬牳蹇冧笟鍔″仛濂戒簡,鎴浘濡備笅:<br /><img style="WIDTH: 505px; HEIGHT: 250px" height="708" alt="鐥呬漢璧勬枡鐧昏.jpg" src="http://m.tkk7.com/images/blogjava_net/joinose/鐥呬漢璧勬枡鐧昏.jpg" width="1024" border="0" /><br /></font><font color="#000000">瀛楀吀緇存姢妯″潡閬囧埌鐨勯棶棰樻湁:</font><br /><font color="#000000">1.鎬庝箞鐢╣rid瀹屾垚澧炲姞,鏇存柊鍙婂垹闄よ褰?br />2.濡備綍鍋氭垚涓涓氱敤鐨勬ā鏉垮簲鐢ㄥ湪鎵鏈夊瓧鍏哥殑緇存姢涓?br /></font>銆愪笅鏈熸彁紺恒?font color="#000000">瀹屾垚鐥呬漢璧勬枡淇敼妯″潡</font></font> <img src ="http://m.tkk7.com/joinose/aggbug/43801.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/joinose/" target="_blank">姘存櫠楸?/a> 2006-04-28 13:41 <a href="http://m.tkk7.com/joinose/archive/2006/04/28/43801.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[Interest]ClinicOS(06)錛氫富鐣岄潰http://m.tkk7.com/joinose/archive/2006/04/18/41719.html姘存櫠楸?/dc:creator>姘存櫠楸?/author>Tue, 18 Apr 2006 11:27:00 GMThttp://m.tkk7.com/joinose/archive/2006/04/18/41719.htmlhttp://m.tkk7.com/joinose/comments/41719.htmlhttp://m.tkk7.com/joinose/archive/2006/04/18/41719.html#Feedback0http://m.tkk7.com/joinose/comments/commentRss/41719.htmlhttp://m.tkk7.com/joinose/services/trackbacks/41719.html銆愭湰鏈熷璇匯?/font> 涓葷晫闈㈠紑鍙戯紝紜畾鍩烘湰妯″潡
娌夊瘋涓鏁村懆浜嗭紝浠婂ぉ緇堜簬鎶婁富鐣岄潰鍋氬ソ浜嗐?br />鏈榪?澶╃壒鍒繖錛岃刀涓婂叕鍙擱」鐩彂甯冩渶鏂扮増鏈紝涓澶у爢鐨勬祴璇曚換鍔′笉鏁㈡噲鎬狅紝褰撳涔犱笌宸ヤ綔鍐茬獊鏃惰繕鏄簲褰撲互宸ヤ綔涓洪噸錛屽涔犳殏鏀句竴杈癸紝鎵浠ヨ繖嬈″涔犳瘮璁″垝澶氳姳浜嗗嚑澶╋紝涓嶈繃铏界劧鍐呭寰堝皯錛屼絾涔熼亣鍒頒簡鍑犱釜闅鵑錛?br />1.濡備綍緇欑獥浣撳姞涓婁竴涓儗鏅浘鐗囷紵
2.濡備綍浣縃tmlWindow鍐呯殑閾炬帴姝e父鎵撳紑錛?br />鎴戞兂鍦ㄧ獥浣撲笂鏄劇ず涓寮犺儗鏅浘鐗囷紝浜庢槸緲葷湅wxPthon 鐨凙PI鏂囨。錛屾兂鎵炬壘鏈夋病鏈夊儚VB閲岀殑frame鐨刾icture灞炴э紝浣嗗嚭涔庢剰鏂欑殑鏃訛紝wx.Window涓茍娌℃湁榪欑灞炴э紝铏界劧鍙互鍦ㄦ涔嬩笂鍐嶆斁涓涓浘鐗囨帶浠訛紝鏉ヨ揪鍒板悓鏍風殑鏁堟灉錛屾鍦ㄥ彂鎰侊紝浜庢槸鎷胯搗銆?strong>wxPython in Action 銆?涓嬫枃綆縐頒負PA)榪欐湰涔﹀揩閫熸帰绱竴閬嶏紝緇堜簬鎵懼埌鍔炴硶浜嗭紝鍘熸潵瑕佸疄鐜拌繖鏍風殑鏁堟灉錛岄渶瑕佸緩绔嬪畾鍒訛紝鍙傜収閲岄潰鐨勫姙娉曞啓浜嗕竴涓彲浠ラ厤緗儗鏅浘鐗囩殑window綾?
聽1import聽wx
聽2
聽3class聽ImageBackGroundWindow(wx.Window):
聽4聽聽聽聽def__init__(self,聽parent,聽image):
聽5聽聽聽聽聽聽聽聽wx.Window.__init__(self,聽parent)
聽6聽聽聽聽聽聽聽聽self.photo聽=聽image.ConvertToBitmap()
聽7聽聽聽聽聽聽聽聽self.positions聽=聽[(0,0)]
聽8聽聽聽聽聽聽聽聽self.Bind(wx.EVT_PAINT,聽self.OnPaint)
聽9聽聽聽聽def聽OnPaint(self,聽evt):
10聽聽聽聽聽聽聽聽dc聽=聽wx.PaintDC(self)
11聽聽聽聽聽聽聽聽brush聽=聽wx.Brush("sky聽blue")
12聽聽聽聽聽聽聽聽dc.SetBackground(brush)
13聽聽聽聽聽聽聽聽dc.Clear()
14聽聽聽聽聽聽聽聽for聽x,y聽in聽self.positions:
15聽聽聽聽聽聽聽聽聽聽聽聽dc.DrawBitmap(self.photo,聽x,聽y,聽True)
涓葷晫闈㈠墿浣欑殑闅鵑灝辨槸鎬庝箞緇勭粐浠g爜錛孶I緙栫▼鏈楹葷儲鐨勫氨鏄繖涓簡錛屽啀鍔犱笂鐩墠涔熸病鎼滃埌浠涔堝ソ鐨勪負Python閲忚韓瀹氬仛鐨刄I璁捐宸ュ叿錛屽彧鑳借嚜宸變竴琛屼竴琛屽湴鍐欎簡錛屼絾榪欐椂灝遍渶瑕佹敞鎰忕粍緇囦唬鐮佷簡錛屼笉鐒朵竴涓鏉傜殑鐣岄潰鍐欏嚭鏉ラ兘鏄竴澶у爢闅劇湅鎳傜殑閿佺浠g爜錛屾垜鍙槸涓涓祴璇曞憳錛屽寮鍙戞帴瑙︽墠鍒氳搗姝ワ紝瀵硅繖鏂歸潰鐨勬剰璇嗘殏鏃朵篃娌℃湁浠涔堝ソ鐨勬兂娉曪紝浣嗗湪銆奝A銆嬩竴涔︿腑鏈夎鍒版庝箞鍐欏嚭涓涓紓浜畝媧佺殑wxPthon鐣岄潰浠g爜錛屾湁鏃墮棿涓瀹氳濂藉ソ鐮旂┒涓涓嬨?br />緇忚繃鍑犲ぉ鐨勫姫鍔涳紝涓葷晫闈㈠熀鏈鏋剁畻鏄紕濂戒簡錛屽墿涓嬬殑灝辨槸鍚勪釜涓氬姟妯℃澘鐨勭晫闈㈠強鍏蜂綋涓氬姟瀹炵幇浜嗐傛垜棣栧厛鎸戞渶瀹規槗鐨勬潵澶勭悊錛屽厛鍋氬叧浜庡璇濇錛屼笉榪囧湪鍋氳繖涓獥浣撴椂涔熼亣鍒頒竴涓棶棰橈紝鍗充笂榪扮殑絎?涓棶棰橈紝鍚庢潵鍙戠幇鏄洜涓哄湪htmlWindow綾諱腑灝戜簡榪欎釜鏂規硶錛?br />
1def聽OnLinkClicked(self,聽linkinfo):
2聽聽聽聽聽聽聽聽聽聽聽聽import聽webbrowser
3聽聽聽聽聽聽聽聽聽聽聽聽webbrowser.open(linkinfo.GetHref(),聽1)

涓葷晫闈㈠拰鍏充簬紿椾綋鎴浘濡備笅錛?br />main.jpgabout.jpg
銆愪笅鏈熸彁紺恒?/font> 瀹屾垚瀛楀吀綆$悊妯″潡

]]>
[Interest]ClinicOS(05)錛氱櫥褰曟ā鍧?/title><link>http://m.tkk7.com/joinose/archive/2006/04/11/40459.html</link><dc:creator>姘存櫠楸?/dc:creator><author>姘存櫠楸?/author><pubDate>Tue, 11 Apr 2006 06:11:00 GMT</pubDate><guid>http://m.tkk7.com/joinose/archive/2006/04/11/40459.html</guid><wfw:comment>http://m.tkk7.com/joinose/comments/40459.html</wfw:comment><comments>http://m.tkk7.com/joinose/archive/2006/04/11/40459.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/joinose/comments/commentRss/40459.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/joinose/services/trackbacks/40459.html</trackback:ping><description><![CDATA[ <font color="#0000ff">銆愭湰鏈熷璇匯?/font>浣跨敤wxPthon寮鍙戠晫闈紝瀹屾垚鐧誨綍妯″潡<br />wxPthon鏄竴涓潪甯稿己澶х殑鐣岄潰鍒朵綔妯″潡錛屼笅杞藉湴鍧鏄?a >http://www.wxpython.org/</a>銆倃xPython瀹夎鍖呬腑闄勯佷簡澶ч噺瀹炰緥浠g爜錛屾瘡涓晫闈㈡帶浠剁殑浣跨敤鏂規硶閮芥湁浠嬬粛錛屽悓鏃惰繕鍙互鍘繪煡鐪嬪湪綰縜pi鏂囨。<a >http://www.wxpython.org/docs/api/wx-module.html</a>錛岃繖涓枃妗g殑椋庢牸寰堝儚javadoc錛屼範鎯簡java api 鏂囨。鐨勪漢涓鐪嬪氨娓呮錛屽鏋滄兂緋葷粺鍦頒簡瑙d竴涓媤yPython鍒欏彲浠ヤ笅杞藉畼鏂規帹鑽愮殑銆?strong><font size="5">wxPython in Action</font></strong> 銆嬩竴涔︺?br />綺楃暐嫻忚涓涓媤yPtyhon Demo錛屼究绔嬪嵆寮濮嬪皾璇曠紪鍐機linicOS鐨勭櫥褰曟ā鍧楋紝棣栧厛紜涓涓嬬晫闈㈣〃鐜板姏鍜屽姛鑳斤細<br />鐣岄潰鍏冪礌錛?br />1.涓涓櫥褰曠獥浣?br />2.甯愬彿鏍囩鍙婃枃鏈錛屽瘑鐮佹爣絳懼強鏂囨湰妗?br />3.紜畾鍜屽彇娑堟寜閽?br />鍔熻兘錛?br />1.鍗曞嚮銆庣‘瀹氥忔寜閽椂鑳介獙璇佽緭鍏ョ殑甯愬彿鍜屽瘑鐮佹槸鍚︽紜紝濡傛灉姝g‘鍒欐樉紺篊linic涓葷晫闈?TODO錛屾殏鏃惰瀹冩樉紺轟竴涓垚鍔熸秷鎭)錛屽惁鍒欐彁紺衡滃笎鍙鋒垨瀵嗙爜閿欒鈥濄?br />2.鍗曞嚮銆庡彇娑堛忔寜閽鍑虹櫥褰曟ā鍧?br />緇忚繃涓鐣姫鍔涳紝緇堜簬鎶婄晫闈㈢敾濂戒簡錛屾殏鏃朵笐浜嗙偣錛屽緟浠ュ悗緇欏畠緹庡銆?br /><img height="300" alt="鐧誨綍.jpg" src="http://m.tkk7.com/images/blogjava_net/joinose/鐧誨綍.jpg" width="400" border="0" /><br />涓嶈繃鐢昏繖鐐圭晫闈㈠緢涓嶆柟渚匡紝寰楁湁鐐硅愬績錛岀壒鍒槸鎺т歡鐨勪綅緗鍏ㄦ墜宸ュ湴璋冨潗鏍囷紝榪欏浜庣己涔忔柟鍚戝拰浣嶇疆鎰熺殑鎴戞潵璇存洿鏄棝鑻?img height="19" src="http://m.tkk7.com/Emoticons/red_smile.gif" width="19" border="0" />錛屾兂鎵句竴涓彲浠ュ仛鐣岄潰鐢ㄧ殑IDE for python錛屽嵈濮嬬粓娌℃壘鍒幫紝娌″姙娉曪紝鍙ソ灝嗙棝鑻﹀繊鍙楀埌搴曘?br />浠ヤ笅鏄畬鏁寸殑浠g爜錛?br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img id="Code_Closed_Image" onclick="this.style.display='none'; Code_Closed_Text.style.display='none'; Code_Open_Image.style.display='inline'; Code_Open_Text.style.display='inline';" height="16" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" width="11" align="top" /><img id="Code_Open_Image" style="DISPLAY: none" onclick="this.style.display='none'; Code_Open_Text.style.display='none'; Code_Closed_Image.style.display='inline'; Code_Closed_Text.style.display='inline';" height="16" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" width="11" align="top" /><span id="Code_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"></span><span id="Code_Open_Text" style="DISPLAY: none"><br /><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="COLOR: #008080">聽1</span><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #008000">#</span><span style="COLOR: #008000">!/usr/bin/python</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">聽2</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />#</span><span style="COLOR: #008000">聽-*-聽coding:聽UTF-8聽-*-</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">聽3</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />#</span><span style="COLOR: #008000">聽$Id:聽login.py聽12聽2006-04-11聽03:20:48Z聽Administrator聽$</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">聽4</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #800000">"""</span><span style="COLOR: #800000"><br /></span><span style="COLOR: #008080">聽5</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />鐧誨綍妯″潡<br /></span><span style="COLOR: #008080">聽6</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #800000">"""</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">聽7</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #0000ff">import</span><span style="COLOR: #000000">聽wx<br /></span><span style="COLOR: #008080">聽8</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #0000ff">import</span><span style="COLOR: #000000">聽dbconnect,utils<br /></span><span style="COLOR: #008080">聽9</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /></span><span style="COLOR: #008080">10</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000">聽LoginFrame(wx.Frame):<br /></span><span style="COLOR: #008080">11</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #800000">"""</span><span style="COLOR: #800000"><br /></span><span style="COLOR: #008080">12</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽鐧誨綍鐣岄潰<br /></span><span style="COLOR: #008080">13</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #800000">"""</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">14</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">def</span><span style="COLOR: #000000">聽</span><span style="COLOR: #800080">__init__</span><span style="COLOR: #000000">(self):<br /></span><span style="COLOR: #008080">15</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">"""</span><span style="COLOR: #800000"><br /></span><span style="COLOR: #008080">16</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽鍒涘緩涓涓嚜瀹氫箟鐨勭獥浣?br /></span><span style="COLOR: #008080">17</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">"""</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">18</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽loginstyle</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">wx.DEFAULT_FRAME_STYLE</span><span style="COLOR: #000000">^</span><span style="COLOR: #000000">(wx.RESIZE_BORDER</span><span style="COLOR: #000000">|</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">19</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽wx.MINIMIZE_BOX</span><span style="COLOR: #000000">|</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">20</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽wx.MAXIMIZE_BOX</span><span style="COLOR: #000000">|</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">21</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽wx.CLOSE_BOX)<br /></span><span style="COLOR: #008080">22</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽wx.Frame.</span><span style="COLOR: #800080">__init__</span><span style="COLOR: #000000">(self,None,id</span><span style="COLOR: #000000">=-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">,title</span><span style="COLOR: #000000">=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">鐧誨綍</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">,style</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">loginstyle,size</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">400</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">300</span><span style="COLOR: #000000">))<br /></span><span style="COLOR: #008080">23</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /></span><span style="COLOR: #008080">24</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽panel</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">wx.Panel(self)<br /></span><span style="COLOR: #008080">25</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">26</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽lblAccount</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">wx.StaticText(panel,label</span><span style="COLOR: #000000">=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">甯惵犅犅犅犲彿錛?/span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">,pos</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">100</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">100</span><span style="COLOR: #000000">))<br /></span><span style="COLOR: #008080">27</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽self.txtAccount</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">wx.TextCtrl(panel,size</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">125</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">),pos</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">160</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">100</span><span style="COLOR: #000000">))<br /></span><span style="COLOR: #008080">28</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">29</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽lblPwd</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">wx.StaticText(panel,label</span><span style="COLOR: #000000">=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">瀵喡犅犅犅犵爜錛?/span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">,pos</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">100</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">150</span><span style="COLOR: #000000">))<br /></span><span style="COLOR: #008080">30</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽self.txtPwd</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">wx.TextCtrl(panel,size</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">125</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">),pos</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">160</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">150</span><span style="COLOR: #000000">),style</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">wx.TE_PASSWORD)<br /></span><span style="COLOR: #008080">31</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">32</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽btnOK</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">wx.Button(panel,label</span><span style="COLOR: #000000">=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">紜畾(&O)</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">,pos</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">150</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">200</span><span style="COLOR: #000000">))<br /></span><span style="COLOR: #008080">33</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽self.Bind(wx.EVT_BUTTON,self.OnClickOK,btnOK)<br /></span><span style="COLOR: #008080">34</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">35</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽btnQuit</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">wx.Button(panel,label</span><span style="COLOR: #000000">=</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">鍙栨秷(&C)</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">,pos</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">(</span><span style="COLOR: #000000">240</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">200</span><span style="COLOR: #000000">))聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">36</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽self.Bind(wx.EVT_BUTTON,self.OnClickQuit,btnQuit)<br /></span><span style="COLOR: #008080">37</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽self.Bind(wx.EVT_CLOSE,self.OnCloseWindow)<br /></span><span style="COLOR: #008080">38</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">def</span><span style="COLOR: #000000">聽MessageBox(self,description,title):<br /></span><span style="COLOR: #008080">39</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽dlg聽</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">聽wx.MessageDialog(self,description,<br /></span><span style="COLOR: #008080">40</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽title,<br /></span><span style="COLOR: #008080">41</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽wx.OK聽</span><span style="COLOR: #000000">|</span><span style="COLOR: #000000">聽wx.ICON_INFORMATION<br /></span><span style="COLOR: #008080">42</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽</span><span style="COLOR: #008000">#</span><span style="COLOR: #008000">wx.YES_NO聽|聽wx.NO_DEFAULT聽|聽wx.CANCEL聽|聽wx.ICON_INFORMATION</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #008080">43</span><span style="COLOR: #008000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #000000">聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽)<br /></span><span style="COLOR: #008080">44</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽dlg.ShowModal()<br /></span><span style="COLOR: #008080">45</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽dlg.Destroy()<br /></span><span style="COLOR: #008080">46</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">def</span><span style="COLOR: #000000">聽OnClickOK(self,event):<br /></span><span style="COLOR: #008080">47</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">"""</span><span style="COLOR: #800000"><br /></span><span style="COLOR: #008080">48</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽鍗曞嚮紜畾鎸夐挳鍝嶅簲浜嬩歡<br /></span><span style="COLOR: #008080">49</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">"""</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">50</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">=</span><span style="COLOR: #800000">"""</span><span style="COLOR: #800000"><br /></span><span style="COLOR: #008080">51</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽select聽count(id)聽as聽count聽from聽d_operator<br /></span><span style="COLOR: #008080">52</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">"""</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">53</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽sql</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">sql</span><span style="COLOR: #000000">+</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽where聽account='</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">self.txtAccount.GetValue()</span><span style="COLOR: #000000">+</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">+</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">聽and聽password='</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">utils.encrypt(self.txtPwd.GetValue())</span><span style="COLOR: #000000">+</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">54</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /></span><span style="COLOR: #008080">55</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽conn</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">dbconnect.SqliteConnection()<br /></span><span style="COLOR: #008080">56</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽list</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">conn.execute(sql)<br /></span><span style="COLOR: #008080">57</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽int(list[0][0])</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">58</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽self.MessageBox(</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">鐧誨綍鎴愬姛</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">鎴愬姛</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">59</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">60</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽聽聽聽聽self.MessageBox(</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">甯愬彿鎴栧瘑鐮侀敊璇紝璇烽噸鏂拌緭鍏?</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">鐧誨綍</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008080">61</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">def</span><span style="COLOR: #000000">聽OnClickQuit(self,event):<br /></span><span style="COLOR: #008080">62</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">"""</span><span style="COLOR: #800000"><br /></span><span style="COLOR: #008080">63</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽鍗曞嚮鍙栨秷鎸夐挳鍝嶅簲浜嬩歡<br /></span><span style="COLOR: #008080">64</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #800000">"""</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">65</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽self.Close(True)聽聽聽聽聽聽聽聽<br /></span><span style="COLOR: #008080">66</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">def</span><span style="COLOR: #000000">聽OnCloseWindow(self,event):<br /></span><span style="COLOR: #008080">67</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽self.Destroy()<br /></span><span style="COLOR: #008080">68</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000">聽LoginApp(wx.App):<br /></span><span style="COLOR: #008080">69</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #800000">"""</span><span style="COLOR: #800000"><br /></span><span style="COLOR: #008080">70</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽鐧誨綍妯″潡<br /></span><span style="COLOR: #008080">71</span><span style="COLOR: #800000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #800000">"""</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008080">72</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽</span><span style="COLOR: #0000ff">def</span><span style="COLOR: #000000">聽OnInit(self):<br /></span><span style="COLOR: #008080">73</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽frame</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">LoginFrame()<br /></span><span style="COLOR: #008080">74</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽frame.Show()<br /></span><span style="COLOR: #008080">75</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">聽True<br /></span><span style="COLOR: #008080">76</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /></span><span style="COLOR: #008080">77</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">聽</span><span style="COLOR: #800080">__name__</span><span style="COLOR: #000000">==</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">__main__</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">:<br /></span><span style="COLOR: #008080">78</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽app</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">LoginApp()<br /></span><span style="COLOR: #008080">79</span><span style="COLOR: #000000"><img src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽app.MainLoop()</span></span></div>鍏朵腑53琛屼腑浣跨敤鐨?span style="COLOR: #000000">utils.encrypt榪欎釜鏂規硶錛屾槸鑷繁鍐欑殑涓涓猰d5鍔犲瘑鏂規硶錛岃繖鍦╬ython閲岄潪甯哥畝鍗曪紝鍙渶瑕?鍙ワ細<br /></span>1.瀵煎叆md5鍜宐ase64錛歩mport md5,base64<br />2.鍒涘緩涓涓猰d5瀵硅薄瀹炰緥錛?md5.new("瀛楃涓?).digest()<br />3.灝嗙敓鎴愮殑md5涓插仛涓猙ase64杞崲錛歜ase64.b64encode(md5.new("瀛楃涓?).digest()榪欎釜榪斿洖鐨勫氨鏄姞瀵嗗瓧絎︿覆銆?br /><br /><font color="#0000ff">銆愪笅鏈熸彁紺恒?/font><font color="#000000">閫愭</font><font color="#000000">娣卞叆瀛︿範</font><font color="#000000"><font color="#000000">wxPython</font>錛?/font> 鍒朵綔ClinicOS涓葷晫闈?img src ="http://m.tkk7.com/joinose/aggbug/40459.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/joinose/" target="_blank">姘存櫠楸?/a> 2006-04-11 14:11 <a href="http://m.tkk7.com/joinose/archive/2006/04/11/40459.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[Interest]ClinicOS(04)錛歅ySQLite榪炴帴SQLitehttp://m.tkk7.com/joinose/archive/2006/04/09/40122.html姘存櫠楸?/dc:creator>姘存櫠楸?/author>Sun, 09 Apr 2006 14:13:00 GMThttp://m.tkk7.com/joinose/archive/2006/04/09/40122.htmlhttp://m.tkk7.com/joinose/comments/40122.htmlhttp://m.tkk7.com/joinose/archive/2006/04/09/40122.html#Feedback2http://m.tkk7.com/joinose/comments/commentRss/40122.htmlhttp://m.tkk7.com/joinose/services/trackbacks/40122.html銆愭湰鏈熷璇匯?/font>浣跨敤PySQLite榪炴帴SQLite閬囧埌鐨勯棶棰樹笌瑙e喅鏂規硶
Python瑕佹搷浣淪QLite鍙互浣跨敤Pyslqite妯″潡錛屾渶鏂扮殑妯″潡鍙互鍘?a >www.pysqlite.org涓嬭澆錛屽綋鍒濅笅杞界殑鏃跺欓『渚跨畝鍗曠湅浜嗙湅usage-guide(http://initd.org/pub/software/pysqlite/doc/usage-guide.html)錛岃寰楁尯綆鍗曠殑錛屾病鏈変粩緇嗙爺絀朵究寮濮嬭冭檻緙栧啓錛屾垜鑰冭檻鎶妔qlite鐨勮闂啓鎴愪竴涓被錛屽湪綾葷殑鍒濆鍖栧拰閿姣佹椂鍊欏垎鍒緩绔嬭繛鎺ュ拰鍏抽棴榪炴帴錛岀劧鍚庡啀娣誨姞涓涓墽琛宻ql璇彞鐨勬柟娉曪紝鐢變簬浼犲叆鐨剆ql鍙兘娌℃湁榪斿洖鍊間篃鍙兘鏈夎繑鍥炲鹼紝鑰岃繑鍥炵殑鍊煎彲鑳芥槸鍗曞垪鍊間篃鍙兘鏄鏉¤褰曪紝鍩轟簬榪欑澶嶆潅鎯呭喌錛屽氨璁╄繖涓柟娉曡繑鍥炰竴涓垪琛紝綆″畠榪斿洖浠涔堬紝閫氶氬姞鍒板垪琛ㄤ腑鐒跺悗榪斿洖錛屾垜瑙夊緱鍦ㄨ繖涓鐐逛笂錛宲ython姣斿叾瀹冭璦鏂逛究澶氫簡銆備笅闈㈡槸榪欎釜綾伙細
#!/usr/bin/python
#
聽-*-聽coding:聽UTF-8聽-*-
#
聽$Id:聽dbconnect.py聽8聽2006-04-08聽14:21:32Z聽Administrator聽$
import聽ConfigParser
import聽locale
from聽pysqlite2聽import聽dbapi2聽as聽sqlite

class聽SqliteConnection:
聽聽聽聽
聽聽聽聽
def__init__(self,dbname):
聽聽聽聽聽聽聽聽
"""
聽聽聽聽聽聽聽聽鍒濆鍖栨暟鎹簱榪炴帴
聽聽聽聽聽聽聽聽聽
"""聽聽聽聽聽聽聽聽
聽聽聽聽聽聽聽聽self.conn聽
=聽sqlite.connect(dbname)
聽聽聽聽
def聽execute(self,sql):
聽聽聽聽聽聽聽聽
"""
聽聽聽聽聽聽聽聽鎵ц浼犲叆鐨剆ql璇彞,榪斿洖涓涓厓緇勬垨鑰匩one
聽聽聽聽聽聽聽聽
"""
聽聽聽聽聽聽聽聽self.cu
=self.conn.cursor()
聽聽聽聽聽聽聽聽self.cu.execute(sql)
聽聽聽聽聽聽聽聽self.conn.commit()

聽聽聽聽聽聽聽聽self.rows
=[]
聽聽聽聽聽聽聽聽
for聽self.row聽in聽self.cu:
聽聽聽聽聽聽聽聽聽聽聽聽self.rows.append(self.row)
聽聽聽聽聽聽聽聽
return聽self.rows
聽聽聽聽
def__del__(self):
聽聽聽聽聽聽聽聽
"""鍏抽棴鏁版嵁搴撹繛鎺?/span>"""
聽聽聽聽聽聽聽聽self.conn.close()
def聽test():
聽聽聽聽
"""嫻嬭瘯鏂規硶"""
聽聽聽聽config
=ConfigParser.ConfigParser()
聽聽聽聽config.read(
'config')
聽聽聽聽dbname
=config.get('SQLiteDB','filename')
聽聽聽聽
聽聽聽聽test
=聽SqliteConnection(":memory:")
聽聽聽聽test.execute(
"create聽table聽person(lastname,聽firstname)")
聽聽聽聽test.execute(
"insert聽into聽person(lastname,firstname)聽values('涓?,'寮?)")
聽聽聽聽test.execute(
"insert聽into聽person(lastname,firstname)聽values('鍥?,'鏉?)")
if__name__=='__main__':
聽聽聽聽test()
涔嬪墠綆鍗曡瘯榪囦竴涓嬭闂畇qlite涓鍒嘜K錛屽彲鏄綋鐒惰繍琛屼竴涓嬭繖涓被鏃訛紝緇撴灉灞呯劧鍑洪敊浜嗭細
Traceback (most recent call last):
聽 File "D:\source\dbconnect.py", line 49, in
?
聽聽聽 test()
聽 File "D:\source\dbconnect.py", line 42, in
test
聽聽聽 temp=test.execute("select * from person")
聽 File "D:\source\dbconnect.py", line 22, in
execute
聽聽聽 self.cu.execute(sql)
pysqlite2.dbapi2.OperationalError: Could not decode to UTF-8 column firstname wi
th text 寮?br />鏃㈢劧鍑洪敊浜嗭紝閭d箞澶ф鏄繖鍑犵鎯呭喌錛?br />1.pysqlite涓嶆敮鎸佷腑鏂?br />2.sqlite涓嶆敮鎸佷腑鏂?br />3.浠g爜鍑轟簡闂
鍑洪敊涔嬪悗錛岀粡榪囨祴璇曪紝鎺掗櫎絎?鍜?涓ょ鍙兘錛?br />浜庢槸鎴戜粩緇嗙畝鍗曚唬鐮侊紝鍙繕鏄病鏈夋壘鍒板嚭閿欏師鍥狅紝浜庢槸鎯蟲煡鐪媝ysqlite婧愪唬鐮侊紝鍙槸浠栫殑浠g爜鏄皝闂湪涓涓猵yd鐨勪簩榪涘埗鏂囦歡涓殑錛屾病鍔炴硶鏌ョ湅錛屼簬鏄幓涓嬭澆pysqlite鐨勬簮浠g爜錛屾嬁鍒版簮浠g爜鍚庡湪pysqlite-2.2.0\src\cursor.c榪欎釜浠g爜涓壘鍒頒簡OperationalError閿欒綾誨瀷錛岀煡閬撳師鏉ユ槸瀛楃杞崲鏃跺嚭榪欎釜閿欍備簬鏄垜灝辮瘯璇曞皢榪斿洖鍊艱漿涓哄彲鏄垜寮勪簡寰堜箙閮芥病鏈夊紕濂斤紝鍦ㄧ綉涓奼oogle涓涓嬩篃娌℃湁鎵懼埌榪欐柟闈㈢殑璧勬枡錛屾壘浜嗕竴澶╀簡涔熸病鏈夋壘鍒拌В鍐崇殑鍔炴硶錛屾棤濂堜箣涓嬮櫓浜涙硠姘斻傝櫧鐒朵箣鍓嶇湅榪噋ysqlite鏂囨。錛屼絾鐪嬪緱涓嶄粩緇嗭紝鍙槸綆鍗曟祻瑙堬紝褰撴椂鍙槸鎯寵繖涓滆タ搴旇鎸虹畝鍗曠殑錛屼緥瀛愪篃澶熻緇嗗氨娌℃湁鑺卞お澶氭椂闂村幓鐪嬫枃妗o紝涓哄緱涔熸槸鑺傜渷鏃墮棿銆傜幇鍦ㄩ亣鍒伴棶棰樹簡錛岃繕鏄佽佸疄瀹炰粩緇嗙湅鐪媝ysqlite鏂囨。鍚с傛灉鐒朵笉鏋夋垜婊寸潃鐪艱嵂姘存妸瀹冪湅瀹岋紝緇堜簬鎵懼埌鍘熷洜浜嗭紝鍘熸潵pysqlite涓湁涓?span class="p_identifier">con.text_factory鍙互瑙e喅榪欎釜闂錛岃繖涓弬鏁伴粯璁ゅ兼槸unicode 錛岀幇鍦ㄥ彧闇瑕佹妸瀹冭緗垚str灝卞彲浠ヤ簡錛?br />
鑷蟲鎬葷畻瑙e喅浜嗚繖涓洶鎵版垜涓澶╃殑闂浜嗐?br />銆愪笅鏈熸彁紺恒?/font>寮濮嬪涔爓xPython錛屼綋楠屼竴涓嬪畠鐨勫己澶х晫闈㈣〃鐜板姏銆?/font>

]]>
[Interest]ClinicOS(03)錛氭暟鎹簱璁捐涓嶴QLite鍒濅綋楠?/title><link>http://m.tkk7.com/joinose/archive/2006/04/07/39912.html</link><dc:creator>姘存櫠楸?/dc:creator><author>姘存櫠楸?/author><pubDate>Fri, 07 Apr 2006 13:09:00 GMT</pubDate><guid>http://m.tkk7.com/joinose/archive/2006/04/07/39912.html</guid><wfw:comment>http://m.tkk7.com/joinose/comments/39912.html</wfw:comment><comments>http://m.tkk7.com/joinose/archive/2006/04/07/39912.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/joinose/comments/commentRss/39912.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/joinose/services/trackbacks/39912.html</trackback:ping><description><![CDATA[ <font color="#0000ff">銆愭湰鏈熷璇匯?/font>璁捐鏁版嵁搴撶粨鏋?br />榪欎袱澶╃畝鍗曟祻瑙堜竴涓婼QLite鐨勭浉鍏蟲枃妗o紝鍙戠幇榪欎釜涓滀笢紜疄榪樹笉閿欙紝鑷沖皯姣擜ccess濂藉浜嗭紝鑳借嚜鍔ㄦ牴鎹暟鎹潵鍒嗛厤鐩稿簲絀洪棿錛屼笉浼氬儚Access閭f牱鐢ㄧ潃鐢ㄧ潃灝卞彉鑲ヤ簡銆?br />浣滀負杞婚噺綰х殑鏈湴鏁版嵁搴擄紝鎴戞墍鏈熸湜鐨勫姛鑳介兘鍏峰浜嗭細<br />1.鑳藉惁淇濆瓨澶嶆潅鏁版嵁錛屾敮鎸丅lob銆?br />2.鏀寔鑷姩緙栧彿銆備絾鍓嶆彁鏄皢涓婚敭涓瀹氳鏄疘nteger綾誨瀷銆傝兘鑷姩鏍規嵁褰撳墠璁板綍鏈澶у煎悜涓嬬戶緇紪鍙楓?br />3.鏀寔鏍囧噯SQL璇彞銆傚鏁版嵁綾誨瀷媯鏌ヤ笉涓ユ牸錛岃兘鑷姩灝嗘暟鎹被鍨嬭漿鎴怱QLite鏍囧噯鏁版嵁綾誨瀷錛岃繖涓鐐瑰湪鑴氭湰縐繪寰堢鐢紝鑳藉皢鍏跺畠鏁版嵁搴撶鐞嗙郴緇熺殑鑴氭湰鐩存帴瀵煎叆錛屼絾瑕佹敞鎰忛伩鍏嶄嬌鐢⊿QLite鏆備笉鏀寔鐨勫懡浠ゃ?br />4.鏀寔瑙﹀彂鍣ㄣ傝繖涓姛鑳戒笉閿欍備粈涔堟椂鍊欐敮鎸佸瓨鍌ㄨ繃紼嬪氨鏇村ソ浜嗭紝^_^<br />瀵筍QLite浜嗚В榪樹笉鏄緢娣卞叆錛岃竟鐢ㄨ竟瀛﹀惂銆?br />寮濮嬬潃鎵嬪緩鏁版嵁搴擄紝鎼滅儲浜嗕竴涓嬫暟鎹簱妯″瀷宸ュ叿錛屼互鍓嶆病鏈夌敤榪囦粈涔堣繖鏂歸潰鐨勫伐鍏鳳紝闅忎究鎼滃埌涓涓狢ASEStudio銆傜敤浜嗕竴涓嬶紝鎰熻鍔熻兘榪樹笉閿欙紝鏀寔寰堝鏁版嵁搴擄紝鑳借嚜鍔ㄧ敓鎴愭暟鎹簱鑴氭湰錛屽彲鎯滀笉鏀寔SQLite鏁版嵁搴撳紩鎿庛傝儭涔辯敾浜嗕竴閫氾紝緇堜簬鎶奀linicOS鏁版嵁搴揈-R鍥劇敾濂戒簡錛?br /><img style="WIDTH: 517px; HEIGHT: 644px" height="661" alt="ClinicDB.png" src="http://m.tkk7.com/images/blogjava_net/joinose/ClinicDB.png" width="737" border="0" /><br />涔熼『渚跨敓鎴愪簡鏁版嵁搴撹剼鏈紝緇忚繃闆墮浂鏁f暎鐨勮繎5涓皬鏃剁殑鍔姏錛屾暟鎹簱緇撴瀯鎬葷畻鎼緩濂戒簡銆?br /><font color="#0000ff">銆愪笅鏈熸彁紺恒?/font><font color="#000000">鍑嗗瀛︿範Python浜嗭紝鍏堝涔燩ySQLite錛岃В鍐崇紪鍐欐暟鎹簱璇誨啓闂</font><img src ="http://m.tkk7.com/joinose/aggbug/39912.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/joinose/" target="_blank">姘存櫠楸?/a> 2006-04-07 21:09 <a href="http://m.tkk7.com/joinose/archive/2006/04/07/39912.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[Interest]ClinicOS(02)錛氶渶姹傚垎鏋?/title><link>http://m.tkk7.com/joinose/archive/2006/04/05/39432.html</link><dc:creator>姘存櫠楸?/dc:creator><author>姘存櫠楸?/author><pubDate>Wed, 05 Apr 2006 09:01:00 GMT</pubDate><guid>http://m.tkk7.com/joinose/archive/2006/04/05/39432.html</guid><wfw:comment>http://m.tkk7.com/joinose/comments/39432.html</wfw:comment><comments>http://m.tkk7.com/joinose/archive/2006/04/05/39432.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/joinose/comments/commentRss/39432.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/joinose/services/trackbacks/39432.html</trackback:ping><description><![CDATA[ <p dir="ltr" style="MARGIN-RIGHT: 0px"> <font color="#0000ff">銆愭湰鏈熷璇匯?/font> <font color="#000000">紜畾</font>ClinicOS鍔熻兘<br />宸ヤ綔浠誨姟寰堥噸錛屾病浠涔堟椂闂村涔狅紝寰堜笉瀹規槗鎸ゅ嚭涓鐐規椂闂存潵鐮旂┒鎴戠殑瀛︿範浠誨姟銆?br />榪欎竴鑺傛垜鎶婇鐩彨浣溿婇渶姹傚垎鏋愩嬪疄鍦?img height="19" src="http://m.tkk7.com/Emoticons/red_smile.gif" width="19" border="0" />......鎯劎銆傛病鏈夊榪囪蔣浠跺伐紼嬶紝鏇存病鏈夊仛榪囬渶姹傚垎鏋愶紝鍙槸鍦ㄥ嚟鍊熻嚜宸辯殑鎯沖綋鐒舵潵緗楀垪鍔熻兘錛屾墦綆楁湁絀虹殑鏃跺欏幓鎵炬湰濂戒功濂藉ソ瀛﹀杞歡宸ョ▼銆傛帴涓嬫潵榪樻槸緗楀垪涓涓嬫垜鐨勬兂娉曞惂錛屾垜瑙夊緱榪欐牱鐨勪竴涓皬緋葷粺搴旇鍖呮嫭浠ヤ笅鍔熻兘錛?br /><font color="#008000"><font color="#006400">涓.鐥呬漢鐥呭彶妗f綆$悊<br />聽1.鐧昏鐥呬漢鍩烘湰淇℃伅<br />聽2.鐧昏鐥呬漢鏈鐥呭巻<br />聽3.鐧昏鏈鐥呬漢鐥囩姸銆佸尰鐢熷鏂廣佹墍鐢ㄦ不鐤楄嵂鍝?br />聽4.鎵撳嵃鐥呭巻鍗?br />聽5.鏌ヨ鐥呭彶妗f<br />浜?鑽搧綆$悊<br />聽1.鑽搧鍏ュ簱鐧昏<br />聽2.鍏ュ簱瀹℃牳<br />聽3.鑽搧鍑哄簱鐧昏錛屽寘鎷姤搴熷嚭搴撳強棰嗚嵂鍑哄簱<br />聽4.鍑哄簱瀹℃牳<br />聽5.鐗╁搧鐘舵佹彁閱掞細榪囨湡鑽搧璀︽垝,搴撳瓨鏁伴噺璀︽垝<br />聽6.鍏ュ簱鏌ヨ鍙婄粺璁?br />聽7.搴撳瓨鏌ヨ鍙婄粺璁?br />聽8.鍑哄簱鏌ヨ鍙婄粺璁?br />聽9.鎶ュ簾鑽搧鍙婄粺璁?br />涓?璐㈠姟緇撶畻<br />聽1.鐥呬漢鏀惰垂鐧昏錛氳瘖鏂垂+鑽搧璐?br />聽2.鑽搧閲囪喘鏀嚭鐧昏<br />聽3.姣忔棩鏀舵敮鎶ヨ〃<br />聽4.姣忔湀鏀舵敮鎯呭喌鎶ヨ〃<br />聽5.騫村害鏀舵敮緇熻鍒嗘瀽琛?/font><br /></font><font color="#0000ff">銆愪笅鏈熸彁紺恒?/font><font color="#000000">瑕佸涔犵殑涓滆タ寰堝錛屼笅鏉ユ垜鎯寵繕鏄粠綆鍗曞叆鎵嬶紝鍏堝Sqlite錛屼笉鐭ラ亾鏈夋病鏈変粈涔堝ソ鐢ㄧ殑鐢ㄦ潵鍐橲qlite鑴氭湰鐨勫鎴風宸ュ叿?</font></p> <img src ="http://m.tkk7.com/joinose/aggbug/39432.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/joinose/" target="_blank">姘存櫠楸?/a> 2006-04-05 17:01 <a href="http://m.tkk7.com/joinose/archive/2006/04/05/39432.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[Interest]ClinicOS(01)錛氭昏堪http://m.tkk7.com/joinose/archive/2006/04/04/39170.html姘存櫠楸?/dc:creator>姘存櫠楸?/author>Tue, 04 Apr 2006 07:09:00 GMThttp://m.tkk7.com/joinose/archive/2006/04/04/39170.htmlhttp://m.tkk7.com/joinose/comments/39170.htmlhttp://m.tkk7.com/joinose/archive/2006/04/04/39170.html#Feedback0http://m.tkk7.com/joinose/comments/commentRss/39170.htmlhttp://m.tkk7.com/joinose/services/trackbacks/39170.html 銆愭湰鏈熷璇匯?/font> 瀹炰緥瀛?/font> Python
鍘誨勾澶х害11鏈堜竴浣嶇墰浜哄悓浜嬮紦鍔辨垜鍘繪帉鎻′竴闂ㄨ剼鏈璦騫舵帹鑽愪嬌鐢≒ython錛?br />鎴戞槸浠庨偅鏃跺紑濮嬫帴瑙﹀畠鐨勶紝铏界劧涓搴︾敤瀹冭В鍐充笉灝戞枃鏈鐞嗙殑灝忛棶棰橈紝浣嗘昏寰楀涔犲緱涓嶅埢娣卞叆錛?br />鎵浠ユ兂緋葷粺鍦板涔犱竴涓婸ython錛屽茍鍐沖畾閫氳繃涓涓患鍚堢殑瀹炰緥dive into python銆?br />瀛︿範鑳屾櫙璇村畬浜嗭紝璇ヨ皥姝i浜嗭紝鎴戝喅瀹氬仛涓涓瘖鎵綆$悊緋葷粺ClinicOS錛屽懙鍛碉紝榪欑杞歡婊″ぇ琛楅兘鏄紝
浣嗘槸鍍忔垜榪欎箞鏃犺亰錛屽喅瀹氱敤Python瀹炵幇鐨勮法騫沖彴鐨勭増鏈簲璇ヨ繕娌″嚭鐜板惂錛熼鐩畾浜嗭紝寮濮嬬潃鎵嬪紑鍙戝惂錛?br />棣栧厛鍑嗗宸ュ叿錛岄櫎浜嗗繀瑕佺殑Python2.4澶栬繕闇瑕佸噯澶囦互涓嬪嚑涓ā鍧楋細
1.wxPthon2.6銆傜敤浜庡仛鐣岄潰銆?br />2.py2exe0.6.3銆傜敤瀹冩墦鍖咃紝鎶妏ython紼嬪簭杞垚exe銆?br />3.pySqlite2.1.3銆傜敱浜庢暟鎹簱閫夋嫨鐢╯qlite,鎵浠ラ夊畠浣滀負sqlite寮鍙戞帴鍙c?br />4.Sqlite銆傜敤浣滄暟鎹瓨鍌ㄣ?br />鐪嬫潵瑕佸鐨勪笢瑗垮緢澶氾紝涓嶈繃鍦ㄥ紑濮嬪紑鍙戝墠錛屽厛緇欒繖涓涔犲畾涓涓猟eadline鍚э紝浜夊彇4鏈?3鏃?/font>涔嬪墠鎻愪氦涓涓彲鐢ㄧ増鏈?br />銆愪笅鏈熸彁紺恒?font color="#000000">鎺ヤ笅鏉ヨ紜畾涓涓嬭蔣浠墮渶姹備簡錛屼笉鐭ラ亾鍚勪綅璺繃鐨勫ぇ渚犺兘鍚︽彁渚涗竴浜涘緩璁紵鎴栬呮湡鏈涜繖涓皬杞歡鎻愪緵浠涔堝姛鑳斤紵



]]>
主站蜘蛛池模板: 国产精品视频免费一区二区三区| 丁香花免费高清视频完整版| 国产免费观看黄AV片| 亚洲高清视频在线| 美女视频黄的全免费视频 | 在线免费观看中文字幕| 久久亚洲AV无码精品色午夜麻豆 | 日韩免费一区二区三区在线播放| 亚洲视频中文字幕| 无码精品A∨在线观看免费 | 18亚洲男同志videos网站| 99re6在线精品视频免费播放 | 亚洲图片一区二区| 91高清免费国产自产| 国产精品久久亚洲不卡动漫| 视频一区在线免费观看| 亚洲国产精品人人做人人爽| 国产精品免费视频观看拍拍| 亚洲精品国产精品乱码不卡√| 一区二区三区观看免费中文视频在线播放 | 另类专区另类专区亚洲| 亚洲人成网站18禁止一区| 日本免费电影一区二区| 亚洲日本国产乱码va在线观看| 毛片免费观看网址| 免费国产a理论片| 免费毛片在线看片免费丝瓜视频 | 国产偷国产偷亚洲高清在线| 亚洲无码日韩精品第一页| 国产精品免费无遮挡无码永久视频| 亚洲精品欧洲精品| 国产午夜鲁丝片AV无码免费| 国产精品免费看久久久香蕉| 亚洲人成影院77777| www.亚洲精品.com| 亚洲制服丝袜一区二区三区| 日本高清免费中文字幕不卡| 中文字字幕在线高清免费电影| 亚洲精品在线视频观看| 免费在线黄色网址| 巨波霸乳在线永久免费视频|