2006年03月05日 星期日 19:43
我怎么什么都收不到呢 请指正 在 2006.3.5, 下午2:43, python-chinese-request at lists.python.cn 写道: > Send python-chinese mailing list submissions to > python-chinese at lists.python.cn > > To subscribe or unsubscribe via the World Wide Web, visit > http://python.cn/mailman/listinfo/python-chinese > or, via email, send a message with subject or body 'help' to > python-chinese-request at lists.python.cn > > You can reach the person managing the list at > python-chinese-owner at lists.python.cn > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of python-chinese digest..." > > > Today's Topics: > > 1. Re: Django,MYSQL ??????????? (??) > 2. Re: Python??????? (shhgs) > 3. Re: Django,MYSQL ??????????? ( ?? ) > 4. Re: D =?UTF-8?Q?jango, MYSQL?= ??????????? ( ??? ) > 5. Re: mysqldb fetchone????????????????? ( ??? ) > 6. Re: Django, MYSQL ??????????? > (=?ISO-2022-JP?B?GyRCQmdPOhsoQg==?=) > 7. Re: Django,MYSQL ??????????? ( ???? ) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 04 Mar 2006 23:02:24 +0800 > From: ?? <zhangj at foreseen-info.com> > Subject: Re: [python-chinese] Django,MYSQL ??????????? > To: python-chinese at lists.python.cn > Message-ID: <20060304230056.C3C4.ZHANGJ at foreseen-info.com> > Content-Type: text/plain; charset="GB2312" > > ‘⁄ 2006-3-4 19:27:07£¨"¥Û¿…" <iexper at gmail.com> –¥µ¿£∫ >> setting.py ˝æ›¡¨Ω”≤ø∑÷»Áœ¬£∫ >> >> DATABASE_ENGINE = 'mysql' # 'postgresql', 'mysql', 'sqlite3' or >> 'ado_mssql'. >> DATABASE_NAME = 'hello' # Or path to database file if >> using >> sqlite3. >> DATABASE_USER = 'root' # Not used with sqlite3. >> DATABASE_PASSWORD = '07910' # Not used with sqlite3. >> DATABASE_HOST = '127.0.0.1' # Set to empty string for >> localhost. >> Not used with sqlite3. >> DATABASE_PORT = '3306' # Set to empty string for default. >> Not >> used with sqlite3. >> >> –ª–ª°£ > > DATABASE_PORT = 3360 > ^^^^ --> ¥À¥¶“™ π”√’˚ ˝ > > -- > ’≈ø• <zhangj at foreseen-info.com> > > √ÙΩ›¿¥◊‘Python > ºÚµ•‘¥”⁄Œ“√« > ∑·‘™–≈–≈œ¢ºº ı”–œfiπ´Àæ > > > > > ------------------------------ > > Message: 2 > Date: Sat, 4 Mar 2006 17:28:59 -0500 > From: shhgs <shhgs.efhilt at gmail.com> > Subject: Re: [python-chinese] Python??????? > To: python-chinese at lists.python.cn > Message-ID: > <32b590a0603041428l5f1d23ffl3d0d4d3e7e8ccf63 at mail.gmail.com> > Content-Type: text/plain; charset=GB2312 > > √ª”–Ã·π©£¨µ´ «ƒ„ø…“‘◊‘º∫–¥£¨∫‹ºÚµ•µƒ°£ > > ’‚¿ÔŒ“∏¯“ª∏ˆŒ“»´≈≈¡–µƒ£¨ƒ„≤Œøº“ªœ¬°£ > > 1 def FullCombination(choice) : > 2 class Rotor(object) : > 3 def __init__(self, choice, parent = None) : > 4 assert len(choice) >= 1 > 5 self.parent = parent > 6 self.choice = choice > 7 self.cursor = 0 > 8 if len(choice) == 1 : > 9 self.child = None > 10 else : > 11 childChoice = choice[:self.cursor] + > choice[self.cursor + 1:] > 12 self.child = Rotor(childChoice, self) > 13 def value(self) : > 14 if self.child : > 15 result = self.child.value() > 16 result.append(self.choice[self.cursor]) > 17 return result > 18 else : > 19 return [ self.choice[0], ] > 20 def next(self) : > 21 node = self.child > 22 while node.child : > 23 node = node.child > 24 node = node.parent > 25 while len(node.choice) == node.cursor + 1 : > 26 node = node.parent > 27 if not node : > 28 return False > 29 else : > 30 node.cursor += 1 > 31 cursor = node.cursor > 32 node_child_choice = node.choice[:cursor] + > node.choice[cursor + 1:] > 33 node.child = Rotor(node_child_choice, node) > 34 return True > 35 rotor = Rotor(choice) > 36 yield rotor.value() > 37 while rotor.next() : > 38 yield rotor.value() > 39 > 40 if __name__ == "__main__" : > 41 s = ['a', 'b', 'c'] > 42 gen = FullCombination(s) > 43 for i in gen : > 44 print i > > > > On 3/4/06, ajax chelsea <ajaxchelsea at gmail.com> wrote: >> >> ∑≠¡À∞ÎÃϱÍ◊ºø‚√ª”–’“µΩ≈≈¡–◊È∫œÀ„∑®£¨«ÎŒ Python±Í◊ºø‚÷π©¡À≥£”√µƒ≈≈¡–◊È >> ∫œÀ„∑®¡À¬£ø¥Ûº“∆Ω ±∂º”√ ≤√¥ø‚¿¥≤Ÿ◊˜≈≈¡–◊È∫œƒÿ£ø >> >> ¡ÌÕ‚£¨’‚∏ˆ” º˛¡–±Ì∏˙google >> groupµƒpython.cn◊Ȫ·◊‘∂ØÕ¨≤Ω¬£ø «≤ª «” º˛¡–±Ì¿Ôµƒ–≈º˛ª·◊‘∂Ø◊™µΩgroup¿ >> Ô£¨∂¯group¿ÔµƒÃ˚◊”≤ªª·◊‘∂Ø∑¢∏¯’‚∏ˆ” º˛¡–±Ì£ø >> _______________________________________________ >> python-chinese >> Post: send python-chinese at lists.python.cn >> Subscribe: send subscribe to >> python-chinese-request at lists.python.cn >> Unsubscribe: send unsubscribe to >> python-chinese-request at lists.python.cn >> Detail Info: >> http://python.cn/mailman/listinfo/python-chinese >> >> > > ------------------------------ > > Message: 3 > Date: Sun, 5 Mar 2006 13:06:44 +0800 > From: " ?? " <iexper at gmail.com> > Subject: Re: [python-chinese] Django,MYSQL ??????????? > To: python-chinese at lists.python.cn > Message-ID: > <41d2cd720603042106w687ac736taa7ce862c62043dc at mail.gmail.com> > Content-Type: text/plain; charset="gb2312" > > ’‚¿Ô≤ªƒ‹ π”√“˝∫≈µÿ£ø > Œ“ ‘◊≈»•µÙ∫Û£¨≤‚ ‘ ±–≈œ¢»Áœ¬£∫ > > D:\python\newtest>manage.py init > Error: The database couldn't be initialized. > (1289, "The 'InnoDB' feature is disabled; you need MySQL built with > 'InnoDB' > to > have it working") > > 'InnoDB'£¨’‚ « ≤√¥∂´∂´£ø3Q > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.exoweb.net/pipermail/python-chinese/attachments/20060305/ > f72d7926/attachment-0001.html > > ------------------------------ > > Message: 4 > Date: Sun, 5 Mar 2006 13:49:27 +0800 > From: " ??? " <xiaoping.tang at gmail.com> > Subject: Re: [python-chinese] D =?UTF-8?Q?jango, MYSQL?= ??????????? > To: python-chinese at lists.python.cn > Message-ID: > <fb6a1a140603042149l466752f2o4eb48f173c5847e2 at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Ê≥®ÊÑèËÆæÁΩƉ∏ãmysql > ª∫Á´ãÁöÑÊï∞ÊçÆÂ∫ì‰∏ç˶ʼnΩøÁî®innoDB,‰Ω†Âè؉ª•‰ΩøÁî®mysql > ÁöÑadministratorÁÆ°ÁêÜÁ®ãÂ∫èËÆæÁΩÆ„ÄÇ > > On 3/5/06, §ßÈÉé <iexper at gmail.com> wrote: >> >> ËøôÈáå‰∏çËÉΩ‰ΩøÁî®ÂºïÂè∑Âú∞Ôºü >> ÊàëËØïÁùÄÂéªÊéâÂêéÔºåʵãËØïÊó∂‰ø°ÊÅضlj∏ãÔºö >> >> >> D:\python\newtest>manage.py init >> Error: The database couldn't be initialized. >> (1289, "The 'InnoDB' feature is disabled; you need MySQL built with >> 'InnoDB' to >> have it working") >> >> 'InnoDB'ÔºåËøôÊò؉ªÄ‰πà‰∏ú‰∏úÔºü3Q >> >> _______________________________________________ >> python-chinese >> Post: send python-chinese at lists.python.cn >> Subscribe: send subscribe to python-chinese-request at lists.python.cn >> Unsubscribe: send unsubscribe to >> python-chinese-request at lists.python.cn >> Detail Info: http://python.cn/mailman/listinfo/python-chinese >> >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.exoweb.net/pipermail/python-chinese/attachments/20060305/ > fbf5adcf/attachment-0001.html > > ------------------------------ > > Message: 5 > Date: Sun, 5 Mar 2006 13:51:54 +0800 > From: " ??? " <xiaoping.tang at gmail.com> > Subject: Re: [python-chinese] mysqldb fetchone????????????????? > To: python-chinese at lists.python.cn > Message-ID: > <fb6a1a140603042151q86537ala6c3b5d974800c9e at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > ‰Ω†Ëøôʆ∑ÊâìÂç∞Êò؉ºöËøôʆ∑ÁöÑÔºåÂõ†‰∏∫ÁºñÁ†ÅÈóÆÈ¢òÂïäÔºå‰Ω†Â¶ÇÊûúÁõ¥Êé > •ÊâìÂç∞‰Ω†ÈúÄ˶ŧÑÁê܉∏ãÁºñÁ†Å„ÄÇ > > On 3/4/06, È≠èÂø† <weizhong2004 at gmail.com> wrote: >> >> ÊâìÂç∞ÁöÑÁªìÊûúÂá°Êò؉∏≠ÊñáÁöÑÈÉΩ‰π±Á†Å‰∫ÜÔºåÊò؉ªÄ‰πàÂéüÂõ†ÈĆÊàêÁöÑÔ >> ºüËߣÂÜ≥ÊñπÊ°àÔºü >> >> #coding=gb2312 >> import MySQLdb as mydb >> db=mydb.connect(host='localhost',user='root',passwd='',db='water') >> cur=db.cursor() >> cur.execute("select site_name,site_group from sites limit 10"); >> while 1: >> a=cur.fetchone() >> if a: >> for x in a: >> print x, >> else:break >> >> -- >> ºÄÈ£ûÊú∫ÁöÑËàíÂÖã >> http://www.lvye.org/shuke >> msn:weizhong at netease.com >> my-tag: >> IMÊàë‰πüÂú®Áî®.‰Ω܉∏ÄËà¨Âè™ÂØπÁÜüÊÇâÁöщ∫∫ºÄ.Ëøô‰∏úË•ø§™Âç†Êó∂Èó¥.Áõ >> ∏ÊØîËøòÊòØmaillist•Ω.ËÆ©Ëá™Â∑≤ÊÄùËÄÉ,ËÆ©Âà´‰∫∫ÊÄùËÄÉ,ËÆ©Êõ¥Â§ö‰∫∫Âèlj >> ∏é.--limodou >> >> >> _______________________________________________ >> python-chinese >> Post: send python-chinese at lists.python.cn >> Subscribe: send subscribe to python-chinese-request at lists.python.cn >> Unsubscribe: send unsubscribe to >> python-chinese-request at lists.python.cn >> Detail Info: http://python.cn/mailman/listinfo/python-chinese >> >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.exoweb.net/pipermail/python-chinese/attachments/20060305/ > eddb9989/attachment-0001.htm > > ------------------------------ > > Message: 6 > Date: Sun, 5 Mar 2006 14:26:49 +0800 > From: "=?ISO-2022-JP?B?GyRCQmdPOhsoQg==?=" <iexper at gmail.com> > Subject: Re: [python-chinese] Django, MYSQL ??????????? > To: python-chinese at lists.python.cn > Message-ID: > <41d2cd720603042226s2c02e9fel360b4e71f261a5b8 at mail.gmail.com> > Content-Type: text/plain; charset="gb2312" > > ‘⁄Œ“µƒMY°£INIŒƒº˛÷–£∫ > default-storage-engine=INNODB > > > ’‚ «≤ª±Ì√˜INNODB «ƒ¨»œπ§◊˜◊≈µƒ£øƒ«Ã· 挙 ≤√¥Àµ≤ªø…”√ƒÿ£ø > > ¬•…œÃ∆–÷Àµ≤ª“™ π”√£ø > ƒ«¥À¥¶”¶»Á∫Œ…Ë÷√°£≤ª∫√“‚Àº£¨∂‘MYSQL’ʵƒ «≤ªÃ´¡ÀΩ‚°£~~~ > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.exoweb.net/pipermail/python-chinese/attachments/20060305/ > 0b649197/attachment-0001.html > > ------------------------------ > > Message: 7 > Date: Sun, 5 Mar 2006 14:42:49 +0800 > From: " ???? " <sqj48611375 at gmail.com> > Subject: Re: [python-chinese] Django,MYSQL ??????????? > To: python-chinese at lists.python.cn > Message-ID: <5d891f3c0603042242i54b30f8h at mail.gmail.com> > Content-Type: text/plain; charset=GB2312 > > ≥ˆœ÷: > 'ODBC'@'localhost' > Àµ√˜≤ª «ƒ„¡¨Ω”µƒ≤ª∂‘,∂¯ «ƒ„µƒMYSQL≥ˆŒ ¡À,“ª÷÷ø…ƒ‹ «√ª”–∆∂Ø. > ‘À––“ªœ¬winmysqladmin.exe ø¥ø¥ƒ‹≤ªƒ‹∆∂؃„µƒMYSQL > > > ‘⁄ 06-3-4£¨¥Û¿…<iexper at gmail.com> –¥µ¿£∫ >> ÷¥––£∫manage.py init£¨Ã· æ£∫ >> >> (1045, "Access denied for user 'root'@'localhost' (using password: >> YES)") >> >> ¡Ì£∫÷¥––mysql£¨Ã· æ£∫ >> D:\python\newtest>mysql >> ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using >> password: N >> O) >> >> «ÎŒ «∑Ò «Œ“’‚¿ÔµƒMYSQL…Ë÷√”–Œ ƒÿ£ø >> 3Q >> >> _______________________________________________ >> python-chinese >> Post: send python-chinese at lists.python.cn >> Subscribe: send subscribe to >> python-chinese-request at lists.python.cn >> Unsubscribe: send unsubscribe to >> python-chinese-request at lists.python.cn >> Detail Info: >> http://python.cn/mailman/listinfo/python-chinese >> >> > > ------------------------------ > > _______________________________________________ > python-chinese mailing list > python-chinese at lists.python.cn > http://python.cn/mailman/listinfo/python-chinese > > End of python-chinese Digest, Vol 27, Issue 16 > ********************************************** > > ..... ========== ★龍行天下★ ==========
2006年03月05日 星期日 20:10
编码问题 2006/3/5, ☆龍刑☆ <geckor.vsc at gmail.com>: > > 我怎么什么都收不到呢 > 请指正 > 在 2006.3.5, 下午2:43, python-chinese-request at lists.python.cn 写道: > > > Send python-chinese mailing list submissions to > > python-chinese at lists.python.cn > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://python.cn/mailman/listinfo/python-chinese > > or, via email, send a message with subject or body 'help' to > > python-chinese-request at lists.python.cn > > > > You can reach the person managing the list at > > python-chinese-owner at lists.python.cn > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of python-chinese digest..." > > > > > > Today's Topics: > > > > 1. Re: Django,MYSQL ??????????? (??) > > 2. Re: Python??????? (shhgs) > > 3. Re: Django,MYSQL ??????????? ( ?? ) > > 4. Re: D =?UTF-8?Q?jango, MYSQL?= ??????????? ( ??? ) > > 5. Re: mysqldb fetchone????????????????? ( ??? ) > > 6. Re: Django, MYSQL ??????????? > > (=?ISO-2022-JP?B?GyRCQmdPOhsoQg==?=) > > 7. Re: Django,MYSQL ??????????? ( ???? ) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Sat, 04 Mar 2006 23:02:24 +0800 > > From: ?? <zhangj at foreseen-info.com> > > Subject: Re: [python-chinese] Django,MYSQL ??????????? > > To: python-chinese at lists.python.cn > > Message-ID: <20060304230056.C3C4.ZHANGJ at foreseen-info.com> > > Content-Type: text/plain; charset="GB2312" > > > > '⁄ 2006-3-4 19:27:07£¨"¥Û¿…" <iexper at gmail.com> –¥µ¿£∫ > >> setting.py˝æ›¡¨Ω"≤ø∑÷»Áœ¬£∫ > >> > >> DATABASE_ENGINE = 'mysql' # 'postgresql', 'mysql', 'sqlite3' or > >> 'ado_mssql'. > >> DATABASE_NAME = 'hello' # Or path to database file if > >> using > >> sqlite3. > >> DATABASE_USER = 'root' # Not used with sqlite3. > >> DATABASE_PASSWORD = '07910' # Not used with sqlite3. > >> DATABASE_HOST = '127.0.0.1' # Set to empty string for > >> localhost. > >> Not used with sqlite3. > >> DATABASE_PORT = '3306' # Set to empty string for default. > >> Not > >> used with sqlite3. > >> > >> –ª–ª°£ > > > > DATABASE_PORT = 3360 > > ^^^^ --> ¥À¥¶"™π"√'˚˝ > > > > -- > > '≈ø• <zhangj at foreseen-info.com> > > > > √ÙΩ›¿¥◊'Python > > ºÚµ•'¥"⁄Œ"√« > > ∑·'™–≈–≈œ¢ººı"–œfiπ´Àæ > > > > > > > > > > ------------------------------ > > > > Message: 2 > > Date: Sat, 4 Mar 2006 17:28:59 -0500 > > From: shhgs <shhgs.efhilt at gmail.com> > > Subject: Re: [python-chinese] Python??????? > > To: python-chinese at lists.python.cn > > Message-ID: > > <32b590a0603041428l5f1d23ffl3d0d4d3e7e8ccf63 at mail.gmail.com> > > Content-Type: text/plain; charset=GB2312 > > > > √ª"–÷π(c)£¨µ´«ƒ„ø…"'◊'º∫–¥£¨∫‹ºÚµ•µƒ°£ > > > > '‚¿ÔŒ"∏¯"ª∏ˆŒ"»´≈≈¡–µƒ£¨ƒ„≤Œøº"ªœ¬°£ > > > > 1 def FullCombination(choice) : > > 2 class Rotor(object) : > > 3 def __init__(self, choice, parent = None) : > > 4 assert len(choice) >= 1 > > 5 self.parent = parent > > 6 self.choice = choice > > 7 self.cursor = 0 > > 8 if len(choice) == 1 : > > 9 self.child = None > > 10 else : > > 11 childChoice = choice[:self.cursor] + > > choice[self.cursor + 1:] > > 12 self.child = Rotor(childChoice, self) > > 13 def value(self) : > > 14 if self.child : > > 15 result = self.child.value() > > 16 result.append(self.choice[self.cursor]) > > 17 return result > > 18 else : > > 19 return [ self.choice[0], ] > > 20 def next(self) : > > 21 node = self.child > > 22 while node.child : > > 23 node = node.child > > 24 node = node.parent > > 25 while len(node.choice) == node.cursor + 1 : > > 26 node = node.parent > > 27 if not node : > > 28 return False > > 29 else : > > 30 node.cursor += 1 > > 31 cursor = node.cursor > > 32 node_child_choice = node.choice[:cursor] + > > node.choice[cursor + 1:] > > 33 node.child = Rotor(node_child_choice, > node) > > 34 return True > > 35 rotor = Rotor(choice) > > 36 yield rotor.value() > > 37 while rotor.next() : > > 38 yield rotor.value() > > 39 > > 40 if __name__ == "__main__" : > > 41 s = ['a', 'b', 'c'] > > 42 gen = FullCombination(s) > > 43 for i in gen : > > 44 print i > > > > > > > > On 3/4/06, ajax chelsea <ajaxchelsea at gmail.com> wrote: > >> > >> ∑≠¡À∞ÎÃϱÍ◊ºø‚√ª"–'"µΩ≈≈¡–◊È∫œÀ„∑(r)£¨«ÎŒPython±Í◊ºø‚÷π(c)¡À≥£"√µƒ≈≈¡–◊È > >> ∫œÀ„∑(r)¡À¬£ø¥Ûº"∆Ω±∂º"√≤√¥ø‚¿¥≤Ÿ◊˜≈≈¡–◊È∫œƒÿ£ø > >> > >> ¡ÌÕ‚£¨'‚∏ˆ"º˛¡–±Ì∏˙google > >> groupµƒpython.cn◊Ȫ·◊'∂ØÕ¨≤Ω¬£ø«≤ª«"º˛¡–±Ì¿Ôµƒ–≈º˛ª·◊'∂Ø◊™µΩgroup¿ > >> Ô£¨∂¯group¿ÔµƒÃ˚◊"≤ªª·◊'∂Ø∑¢∏¯'‚∏ˆ"º˛¡–±Ì£ø > >> _______________________________________________ > >> python-chinese > >> Post: send python-chinese at lists.python.cn > >> Subscribe: send subscribe to > >> python-chinese-request at lists.python.cn > >> Unsubscribe: send unsubscribe to > >> python-chinese-request at lists.python.cn > >> Detail Info: > >> http://python.cn/mailman/listinfo/python-chinese > >> > >> > > > > ------------------------------ > > > > Message: 3 > > Date: Sun, 5 Mar 2006 13:06:44 +0800 > > From: " ?? " <iexper at gmail.com> > > Subject: Re: [python-chinese] Django,MYSQL ??????????? > > To: python-chinese at lists.python.cn > > Message-ID: > > <41d2cd720603042106w687ac736taa7ce862c62043dc at mail.gmail.com> > > Content-Type: text/plain; charset="gb2312" > > > > '‚¿Ô≤ªƒ‹π"√"˝∫≈µÿ£ø > > Œ"'◊≈»•µÙ∫Û£¨≤‚'±–≈œ¢»Áœ¬£∫ > > > > D:\python\newtest>manage.py init > > Error: The database couldn't be initialized. > > (1289, "The 'InnoDB' feature is disabled; you need MySQL built with > > 'InnoDB' > > to > > have it working") > > > > 'InnoDB'£¨'‚«≤√¥∂´∂´£ø3Q > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > > http://lists.exoweb.net/pipermail/python-chinese/attachments/20060305/ > > f72d7926/attachment-0001.html > > > > ------------------------------ > > > > Message: 4 > > Date: Sun, 5 Mar 2006 13:49:27 +0800 > > From: " ??? " <xiaoping.tang at gmail.com> > > Subject: Re: [python-chinese] D =?UTF-8?Q?jango, MYSQL?= ??????????? > > To: python-chinese at lists.python.cn > > Message-ID: > > <fb6a1a140603042149l466752f2o4eb48f173c5847e2 at mail.gmail.com> > > Content-Type: text/plain; charset="utf-8" > > > > Ê≥(r)ÊÑèËÆæÁΩƉ∏ãmysql > > ª∫Á´ãÁöÑÊï∞ÊçÆÂ∫ì‰∏ç˶ʼnΩøÁî(r)innoDB,‰Ω†Âè؉ª•‰ΩøÁî(r)mysql > > ÁöÑadministratorÁÆ°ÁêÜÁ(r)ãÂ∫èËÆæÁΩÆ„ÄÇ > > > > On 3/5/06, §ßÈÉé <iexper at gmail.com> wrote: > >> > >> ËøôÈáå‰∏çËÉΩ‰ΩøÁî(r)ºïÂè∑Âú∞Ôºü > >> ÊàëËØïÁùÄÂéªÊéâÂêéÔºåʵãËØïÊó∂‰ø°ÊÅضlj∏ãÔºö > >> > >> > >> D:\python\newtest>manage.py init > >> Error: The database couldn't be initialized. > >> (1289, "The 'InnoDB' feature is disabled; you need MySQL built with > >> 'InnoDB' to > >> have it working") > >> > >> 'InnoDB'ÔºåËøôÊò؉ªÄ‰πà‰∏ú‰∏úÔºü3Q > >> > >> _______________________________________________ > >> python-chinese > >> Post: send python-chinese at lists.python.cn > >> Subscribe: send subscribe to python-chinese-request at lists.python.cn > >> Unsubscribe: send unsubscribe to > >> python-chinese-request at lists.python.cn > >> Detail Info: http://python.cn/mailman/listinfo/python-chinese > >> > >> > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > > http://lists.exoweb.net/pipermail/python-chinese/attachments/20060305/ > > fbf5adcf/attachment-0001.html > > > > ------------------------------ > > > > Message: 5 > > Date: Sun, 5 Mar 2006 13:51:54 +0800 > > From: " ??? " <xiaoping.tang at gmail.com> > > Subject: Re: [python-chinese] mysqldb fetchone????????????????? > > To: python-chinese at lists.python.cn > > Message-ID: > > <fb6a1a140603042151q86537ala6c3b5d974800c9e at mail.gmail.com> > > Content-Type: text/plain; charset="utf-8" > > > > ‰Ω†Ëøôʆ∑ÊâìÂç∞Êò؉ºöËøôʆ∑ÁöÑÔºåÂõ†‰∏∫ÁºñÁ†ÅÈóÆÈ¢òÂïäÔºå‰Ω†Â¶ÇÊûúÁõ¥Êé > > •ÊâìÂç∞‰Ω†ÈúÄ˶ŧÑÁê܉∏ãÁºñÁ†Å„ÄÇ > > > > On 3/4/06, È≠èÂø† <weizhong2004 at gmail.com> wrote: > >> > >> ÊâìÂç∞ÁöÑÁªìÊûúÂá°Êò؉∏≠ÊñáÁöÑÈÉΩ‰π±Á†Å‰∫ÜÔºåÊò؉ªÄ‰πàÂéüÂõ†ÈĆÊàêÁöÑÔ > >> ºüËߣÂÜ≥ÊñπÊ°àÔºü > >> > >> #coding=gb2312 > >> import MySQLdb as mydb > >> db=mydb.connect(host='localhost',user='root',passwd='',db='water') > >> cur=db.cursor() > >> cur.execute("select site_name,site_group from sites limit 10"); > >> while 1: > >> a=cur.fetchone() > >> if a: > >> for x in a: > >> print x, > >> else:break > >> > >> -- > >> ºÄÈ£ûÊú∫ÁöÑËàíÂÖã > >> http://www.lvye.org/shuke > >> msn:weizhong at netease.com > >> my-tag: > >> IMÊàë‰πüÂú(r)Áî(r).‰Ω܉∏ÄËà¨Âè™ÂØπÁÜüÊÇâÁöщ∫∫ºÄ.Ëøô‰∏úË•ø§™Âç†Êó∂Èó¥.Áõ > >> ∏ÊØîËøòÊòØmaillist•Ω.ËÆ(c)Ëá™Â∑≤ÊÄùËÄÉ,ËÆ(c)Âà´‰∫∫ÊÄùËÄÉ,ËÆ(c)Êõ¥Â§ö‰∫∫Âèlj > >> ∏é.--limodou > >> > >> > >> _______________________________________________ > >> python-chinese > >> Post: send python-chinese at lists.python.cn > >> Subscribe: send subscribe to python-chinese-request at lists.python.cn > >> Unsubscribe: send unsubscribe to > >> python-chinese-request at lists.python.cn > >> Detail Info: http://python.cn/mailman/listinfo/python-chinese > >> > >> > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > > http://lists.exoweb.net/pipermail/python-chinese/attachments/20060305/ > > eddb9989/attachment-0001.htm > > > > ------------------------------ > > > > Message: 6 > > Date: Sun, 5 Mar 2006 14:26:49 +0800 > > From: "=?ISO-2022-JP?B?GyRCQmdPOhsoQg==?=" <iexper at gmail.com> > > Subject: Re: [python-chinese] Django, MYSQL ??????????? > > To: python-chinese at lists.python.cn > > Message-ID: > > <41d2cd720603042226s2c02e9fel360b4e71f261a5b8 at mail.gmail.com> > > Content-Type: text/plain; charset="gb2312" > > > > '⁄Œ"µƒMY°£INIŒƒº˛÷–£∫ > > default-storage-engine=INNODB > > > > > > '‚«≤ª±Ì√˜INNODB«ƒ¨»œπ§◊˜◊≈µƒ£øƒ«Ã·æŒ™≤√¥Àµ≤ªø…"√ƒÿ£ø > > > > ¬•…œÃ∆–÷Àµ≤ª"™π"√£ø > > ƒ«¥À¥¶"¶»Á∫Œ…Ë÷√°£≤ª∫√"‚Àº£¨∂'MYSQL'ʵƒ«≤ªÃ´¡ÀΩ‚°£~~~ > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > > http://lists.exoweb.net/pipermail/python-chinese/attachments/20060305/ > > 0b649197/attachment-0001.html > > > > ------------------------------ > > > > Message: 7 > > Date: Sun, 5 Mar 2006 14:42:49 +0800 > > From: " ???? " <sqj48611375 at gmail.com> > > Subject: Re: [python-chinese] Django,MYSQL ??????????? > > To: python-chinese at lists.python.cn > > Message-ID: <5d891f3c0603042242i54b30f8h at mail.gmail.com> > > Content-Type: text/plain; charset=GB2312 > > > > ≥ˆœ÷: > > 'ODBC'@'localhost' > > Àµ√˜≤ª«ƒ„¡¨Ω"µƒ≤ª∂',∂¯«ƒ„µƒMYSQL≥ˆŒÃ‚¡À,"ª÷÷ø…ƒ‹«√ª"–∆∂Ø. > > 'À––"ªœ¬winmysqladmin.exe ø¥ø¥ƒ‹≤ªƒ‹∆∂؃„µƒMYSQL > > > > > > '⁄ 06-3-4£¨¥Û¿…<iexper at gmail.com> –¥µ¿£∫ > >> ÷¥––£∫manage.py init£¨Ã·æ£∫ > >> > >> (1045, "Access denied for user 'root'@'localhost' (using password: > >> YES)") > >> > >> ¡Ì£∫÷¥––mysql£¨Ã·æ£∫ > >> D:\python\newtest>mysql > >> ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using > >> password: N > >> O) > >> > >> «ÎŒ«∑Ò«Œ"'‚¿ÔµƒMYSQL…Ë÷√"–ŒÃ‚ƒÿ£ø > >> 3Q > >> > >> _______________________________________________ > >> python-chinese > >> Post: send python-chinese at lists.python.cn > >> Subscribe: send subscribe to > >> python-chinese-request at lists.python.cn > >> Unsubscribe: send unsubscribe to > >> python-chinese-request at lists.python.cn > >> Detail Info: > >> http://python.cn/mailman/listinfo/python-chinese > >> > >> > > > > ------------------------------ > > > > _______________________________________________ > > python-chinese mailing list > > python-chinese at lists.python.cn > > http://python.cn/mailman/listinfo/python-chinese > > > > End of python-chinese Digest, Vol 27, Issue 16 > > ********************************************** > > > > > ..... > > > > > > > ========== > ★龍行天下★ > ========== > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060305/c32e307d/attachment-0001.html
2006年03月05日 星期日 20:22
如题。谢谢! _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
2006年03月05日 星期日 20:33
On 3/5/06, 邬 晨炜 <wucw1984 at hotmail.com> wrote: > 如题。谢谢! > 使用compile模块.查文档看如何使用. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit
2006年03月05日 星期日 21:46
distutil.util.byte_compile -- If U can see it, then U can do it If U just believe it, there's nothing to it I believe U can fly >From Jetport at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060305/65c98ec0/attachment.html
Zeuux © 2025
京ICP备05028076号