2007年06月21日 星期四 11:44
其實技術上應該兩面互相 generate 都可以 (即 model 生成 DB schema 或 DB schema 生成 model 都可以) 如 Java 的 Hibernate 是 model 生成 DB schema, 但 php 的 DB_DataObject 就 是 DB schema 生成 model. 兩個方向也有人用. 但本人覺得由 model 生成 DB schema 是最合邏輯的而且程序員其實是和 model 直接溝通, 再和 DB 溝通, 而非直接和 DB 溝通. Arnold python-chinese-request在lists.python.cn wrote: > 想在 python-chinese 邮件列表发言,请写信给: > python-chinese在lists.python.cn > > 要订阅或者退订列表,可以访问万维网地址: > http://python.cn/mailman/listinfo/python-chinese > 或者可以向: > python-chinese-request在lists.python.cn > 发送主题或者正文为'help'的邮件。 > > 您可以通过邮件地址: > python-chinese-owner在lists.python.cn > 联系到此列表的管理员。 > > 当回信时,请给一个适当的标题,这样会比 "Re: > Contents of python-chinese digest..."更清楚明白。 > > > 本日主题: > > 1. Django 数据库问题? (Neo Chen) > 2. 请教简单问题,使用try except的时机 (Brightman) > 3. Re: > wxPython写的界面程序,在调用可执行文件时,如何输出信息? > (jondy) > 4. Re: 一个推广python的机会,请大家帮忙! > (Airecho Python) > 5. 使用Python自动修改Windows的IP、掩码、网关和DNS > (QuJinlong) > 6. Re: > 使用Python自动修改Windows的IP、掩码、网关和DNS > (kergee!z) > 7. Re: > wxPython写的界面程序,在调用可执行文件时,如何输出信息? > (chunyan chen) > 8. Re: > wxPython写的界面程序,在调用可执行文件时,如何输出信息? > (chunyan chen) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 21 Jun 2007 09:49:45 +0800 > From: "Neo Chen" <openunix在163.com> > Subject: [python-chinese] Django 数据库问题? > To: <python-chinese在lists.python.cn> > Message-ID: <002101c7b3a6$7276cd80$6b640a0a在netkiller> > Content-Type: text/plain; charset="utf-8" > > 看列子..都是先写models然后用它创建表.然后object.all()什么的来操作. > > 我的习惯是用DB Design 工具设计数据库,然后直接用? > -------------- 下一部分 -------------- > 一个HTML附件被移除... > URL: http://python.cn/pipermail/python-chinese/attachments/20070621/e0c9d209/attachment.htm > -------------- 下一部分 -------------- > 一个非文本附件被清除... > 发信人: %(who)s > 主题: %(subject)s > 日期: %(date)s > 大小: 1325 > Url: http://python.cn/pipermail/python-chinese/attachments/20070621/e0c9d209/attachment-0001.bin > > ------------------------------ > > Message: 2 > Date: Thu, 21 Jun 2007 10:06:36 +0800 > From: Brightman <mr.brightman在gmail.com> > Subject: [python-chinese] 请教简单问题,使用try > except的时机 > To: python-chinese在lists.python.cn, python-cn在googlegroups.com > Message-ID: <4679DD2C.20401在gmail.com> > Content-Type: text/plain; charset=GB2312 > > 比如: > data = self.rfile.read(ssize) > self.wfile.write("y") > 潜在下面的错误,由于socket连接断开,write就会有错误,是应该用try except > 包起来,还是其他什么手段处理?(比如c中检察返回值),我不了解try > except,不敢随意使用try except,怕影响性能。请大家指教一下,谢谢! > > Traceback (most recent call last): > File "/home/forum/Python-2.5/Lib/SocketServer.py", line 222, in > handle_request > self.process_request(request, client_address) > File "/home/forum/Python-2.5/Lib/SocketServer.py", line 241, in > process_request > self.finish_request(request, client_address) > File "/home/forum/Python-2.5/Lib/SocketServer.py", line 254, in > finish_request > self.RequestHandlerClass(request, client_address, self) > File "/home/forum/Python-2.5/Lib/SocketServer.py", line 521, in __init__ > self.handle() > File "baoba.py", line 86, in handle > self.wfile.write("y") > File "/home/forum/Python-2.5/Lib/socket.py", line 261, in write > self.flush() > File "/home/forum/Python-2.5/Lib/socket.py", line 248, in flush > self._sock.sendall(buffer) > error: (32, 'Broken pipe') > > > ------------------------------ > > Message: 3 > Date: Thu, 21 Jun 2007 10:13:02 +0800 > From: "jondy" <jondynet在gmail.com> > Subject: Re: [python-chinese] > wxPython写的界面程序,在调用可执行文件时,如何输出信息? > > To: <python-chinese在lists.python.cn> > Message-ID: <007001c7b3a9$b4ca24e0$0a01a8c0在zhangdi> > Content-Type: text/plain; charset="gb2312" > > 我用的也是ub7.04 > os.system()可以打开个shell执行 > -------------- 涓���ㄥ� -------------- > 一个HTML附件被移除... > URL: http://python.cn/pipermail/python-chinese/attachments/20070621/805eab79/attachment.htm > > ------------------------------ > > Message: 4 > Date: Thu, 21 Jun 2007 10:13:19 +0800 > From: "Airecho Python" <airecho.python在gmail.com> > Subject: Re: [python-chinese] > 一个推广python的机会,请大家帮忙! > To: python-chinese在lists.python.cn > Message-ID: > <152bfd6c0706201913n2139fa1fo519d5f01a81924ec在mail.gmail.com> > Content-Type: text/plain; charset="gb2312" > > 在07-6-20,boyeestudio <boyee118在gmail.com> 写道: > >> 就按《dive into python》一书去讲,保证有效! >> 一个例子,N个悬念,那是欲罢不能啊!!!让初学者听得津津有味。 >> 不过,你要在关键的地方,该点明的还是点明,暂不点明的就说下回分解好了。 >> 呵呵。 >> >> > > 没那么多时间,一次而已。 > -------------- 涓���ㄥ� -------------- > 一个HTML附件被移除... > URL: http://python.cn/pipermail/python-chinese/attachments/20070621/cef2edf0/attachment.html > > ------------------------------ > > Message: 5 > Date: Thu, 21 Jun 2007 10:14:22 +0800 > From: QuJinlong <qujinlong123在gmail.com> > Subject: [python-chinese] > 使用Python自动修改Windows的IP、掩码、网关和DNS > To: python-chinese在lists.python.cn > Message-ID: > <ba7d119c0706201914j69c6cfbeo6afb85d8242b5d49在mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > 初次学习使用Python写了一个小的实用的工具,希望能得到Python高手的指点 > 地址为:http://www.blogjava.net/qujinlong123/archive/2007/06/20/125434.html > 注:绝对不是广告,真心希望大家给意见,以便能提高自己的Python水平 > >
2007年06月21日 星期四 12:18
我还是喜欢DB生成 model . 可以少写代码. 再问一下Amold 你用过PHP,你知道python有没有类似php print_r(), var_dump()的东东.. ----- Original Message ----- From: "Arnold Chen" <arnold在design97.com> To: <python-chinese在lists.python.cn> Sent: Thursday, June 21, 2007 11:44 AM Subject: [python-chinese] Re : Django 数据库问题? > 其實技術上應該兩面互相 generate 都可以 (即 model 生成 DB schema 或 DB > schema 生成 model 都可以) > > 如 Java 的 Hibernate 是 model 生成 DB schema, 但 php 的 DB_DataObject 就 > 是 DB schema 生成 model. 兩個方向也有人用. > 但本人覺得由 model 生成 DB schema 是最合邏輯的而且程序員其實是和 model > 直接溝通, 再和 DB 溝通, 而非直接和 DB 溝通. > > Arnold > > > python-chinese-request在lists.python.cn wrote: >> 想在 python-chinese 邮件列表发言,请写信给: >> python-chinese在lists.python.cn >> >> 要订阅或者退订列表,可以访问万维网地址: >> http://python.cn/mailman/listinfo/python-chinese >> 或者可以向: >> python-chinese-request在lists.python.cn >> 发送主题或者正文为'help'的邮件。 >> >> 您可以通过邮件地址: >> python-chinese-owner在lists.python.cn >> 联系到此列表的管理员。 >> >> 当回信时,请给一个适当的标题,这样会比 "Re: >> Contents of python-chinese digest..."更清楚明白。 >> >> >> 本日主题: >> >> 1. Django 数据库问题? (Neo Chen) >> 2. 请教简单问题,使用try except的时机 (Brightman) >> 3. Re: >> wxPython写的界面程序,在调用可执行文件时,如何输出信息? >> (jondy) >> 4. Re: 一个推广python的机会,请大家帮忙! >> (Airecho Python) >> 5. 使用Python自动修改Windows的IP、掩码、网关和DNS >> (QuJinlong) >> 6. Re: >> 使用Python自动修改Windows的IP、掩码、网关和DNS >> (kergee!z) >> 7. Re: >> wxPython写的界面程序,在调用可执行文件时,如何输出信息? >> (chunyan chen) >> 8. Re: >> wxPython写的界面程序,在调用可执行文件时,如何输出信息? >> (chunyan chen) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Thu, 21 Jun 2007 09:49:45 +0800 >> From: "Neo Chen" <openunix在163.com> >> Subject: [python-chinese] Django 数据库问题? >> To: <python-chinese在lists.python.cn> >> Message-ID: <002101c7b3a6$7276cd80$6b640a0a在netkiller> >> Content-Type: text/plain; charset="utf-8" >> >> 看列子..都是先写models然后用它创建表.然后object.all()什么的来操作. >> >> 我的习惯是用DB Design 工具设计数据库,然后直接用? >> -------------- 下一部分 -------------- >> 一个HTML附件被移除... >> URL: http://python.cn/pipermail/python-chinese/attachments/20070621/e0c9d209/attachment.htm >> -------------- 下一部分 -------------- >> 一个非文本附件被清除... >> 发信人: %(who)s >> 主题: %(subject)s >> 日期: %(date)s >> 大小: 1325 >> Url: http://python.cn/pipermail/python-chinese/attachments/20070621/e0c9d209/attachment-0001.bin >> >> ------------------------------ >> >> Message: 2 >> Date: Thu, 21 Jun 2007 10:06:36 +0800 >> From: Brightman <mr.brightman在gmail.com> >> Subject: [python-chinese] 请教简单问题,使用try >> except的时机 >> To: python-chinese在lists.python.cn, python-cn在googlegroups.com >> Message-ID: <4679DD2C.20401在gmail.com> >> Content-Type: text/plain; charset=GB2312 >> >> 比如: >> data = self.rfile.read(ssize) >> self.wfile.write("y") >> 潜在下面的错误,由于socket连接断开,write就会有错误,是应该用try except >> 包起来,还是其他什么手段处理?(比如c中检察返回值),我不了解try >> except,不敢随意使用try except,怕影响性能。请大家指教一下,谢谢! >> >> Traceback (most recent call last): >> File "/home/forum/Python-2.5/Lib/SocketServer.py", line 222, in >> handle_request >> self.process_request(request, client_address) >> File "/home/forum/Python-2.5/Lib/SocketServer.py", line 241, in >> process_request >> self.finish_request(request, client_address) >> File "/home/forum/Python-2.5/Lib/SocketServer.py", line 254, in >> finish_request >> self.RequestHandlerClass(request, client_address, self) >> File "/home/forum/Python-2.5/Lib/SocketServer.py", line 521, in __init__ >> self.handle() >> File "baoba.py", line 86, in handle >> self.wfile.write("y") >> File "/home/forum/Python-2.5/Lib/socket.py", line 261, in write >> self.flush() >> File "/home/forum/Python-2.5/Lib/socket.py", line 248, in flush >> self._sock.sendall(buffer) >> error: (32, 'Broken pipe') >> >> >> ------------------------------ >> >> Message: 3 >> Date: Thu, 21 Jun 2007 10:13:02 +0800 >> From: "jondy" <jondynet在gmail.com> >> Subject: Re: [python-chinese] >> wxPython写的界面程序,在调用可执行文件时,如何输出信息? >> >> To: <python-chinese在lists.python.cn> >> Message-ID: <007001c7b3a9$b4ca24e0$0a01a8c0在zhangdi> >> Content-Type: text/plain; charset="gb2312" >> >> 我用的也是ub7.04 >> os.system()可以打开个shell执行 >> -------------- 涓���ㄥ� -------------- >> 一个HTML附件被移除... >> URL: http://python.cn/pipermail/python-chinese/attachments/20070621/805eab79/attachment.htm >> >> ------------------------------ >> >> Message: 4 >> Date: Thu, 21 Jun 2007 10:13:19 +0800 >> From: "Airecho Python" <airecho.python在gmail.com> >> Subject: Re: [python-chinese] >> 一个推广python的机会,请大家帮忙! >> To: python-chinese在lists.python.cn >> Message-ID: >> <152bfd6c0706201913n2139fa1fo519d5f01a81924ec在mail.gmail.com> >> Content-Type: text/plain; charset="gb2312" >> >> 在07-6-20,boyeestudio <boyee118在gmail.com> 写道: >> >>> 就按《dive into python》一书去讲,保证有效! >>> 一个例子,N个悬念,那是欲罢不能啊!!!让初学者听得津津有味。 >>> 不过,你要在关键的地方,该点明的还是点明,暂不点明的就说下回分解好了。 >>> 呵呵。 >>> >>> >> >> 没那么多时间,一次而已。 >> -------------- 涓���ㄥ� -------------- >> 一个HTML附件被移除... >> URL: http://python.cn/pipermail/python-chinese/attachments/20070621/cef2edf0/attachment.html >> >> ------------------------------ >> >> Message: 5 >> Date: Thu, 21 Jun 2007 10:14:22 +0800 >> From: QuJinlong <qujinlong123在gmail.com> >> Subject: [python-chinese] >> 使用Python自动修改Windows的IP、掩码、网关和DNS >> To: python-chinese在lists.python.cn >> Message-ID: >> <ba7d119c0706201914j69c6cfbeo6afb85d8242b5d49在mail.gmail.com> >> Content-Type: text/plain; charset="utf-8" >> >> 初次学习使用Python写了一个小的实用的工具,希望能得到Python高手的指点 >> 地址为:http://www.blogjava.net/qujinlong123/archive/2007/06/20/125434.html >> 注:绝对不是广告,真心希望大家给意见,以便能提高自己的Python水平 >> >> > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese
2007年06月21日 星期四 12:32
ºÃÏñdjangoÓÐ legacy db µÄdoc°É >From: "Neo Chen" <openunix在163.com> >Reply-To: python-chinese在lists.python.cn >To: <python-chinese在lists.python.cn> >Subject: Re: [python-chinese]Re : Django æ°æ®åºé®é¢? >Date: Thu, 21 Jun 2007 12:18:35 +0800 > >我还是喜欢DB生成 model . 可以少写代码. > >再问一下Amold 你用过PHP,你知道python有没有类似php print_r(), var_dump()çä¸ä¸?. > >----- Original Message ----- >From: "Arnold Chen" <arnold在design97.com> >To: <python-chinese在lists.python.cn> >Sent: Thursday, June 21, 2007 11:44 AM >Subject: [python-chinese] Re : Django æ°æ®åºé®é¢? > > > > å ¶å¯¦æè¡ä¸æè©²å ©é¢äºç¸ generate é½å¯ä»?(å?model çæ DB schema æ?DB > > schema çæ model é½å¯ä»? > > > > å¦?Java ç?Hibernate æ?model çæ DB schema, ä½?php ç?DB_DataObject å°?> > æ?DB schema çæ model. å ©åæ¹åä¹æ人ç? > > 但本人覺得由 model 生成 DB schema 是最合邏輯的而且程序 å¡å ¶å¯¦æ¯å?model > > ç´æ¥æºé? åå DB æºé? èéç´æ¥å?DB æºé? > > > > Arnold > > > > > > python-chinese-request在lists.python.cn wrote: > >> 想在 python-chinese 邮件列表发言,请写信给: > >> python-chinese在lists.python.cn > >> > >> è¦è®¢é æè é订å表ï¼å¯ä»¥è®¿é®ä¸ç»´ç½å°åï¼?> >> http://python.cn/mailman/listinfo/python-chinese > >> æè å¯ä»¥åï¼?> >> python-chinese-request在lists.python.cn > >> åé主é¢æè æ£æ为'help'çé®ä»¶ã?> >> > >> æ¨å¯ä»¥éè¿é®ä»¶å°åï¼?> >> python-chinese-owner在lists.python.cn > >> èç³»å°æ¤å表ç管çåã?> >> > >> 当回信时,请给一个适当的标题,这样会比 "Re: > >> Contents of python-chinese digest..."æ´æ¸ æ¥æç½ã?> >> > >> > >> 本日主题: > >> > >> 1. Django æ°æ®åºé®é¢? (Neo Chen) > >> 2. 请æç®åé®é¢ï¼ä½¿ç¨try exceptçæ¶æ?(Brightman) > >> 3. Re: > >> wxPythonåççé¢ç¨åºï¼å¨è°ç¨å¯æ§è¡æ件æ¶ï¼å¦ä½ è¾åºä¿¡æ¯ï¼ > >> (jondy) > >> 4. Re: 一个推广python的机会,请大家帮忙! > >> (Airecho Python) > >> 5. 使用Python自动修改Windows的IP、掩码、网关和DNS > >> (QuJinlong) > >> 6. Re: > >> 使用Python自动修改Windows的IP、掩码、网关和DNS > >> (kergee!z) > >> 7. Re: > >> wxPythonåççé¢ç¨åºï¼å¨è°ç¨å¯æ§è¡æ件æ¶ï¼å¦ä½ è¾åºä¿¡æ¯ï¼ > >> (chunyan chen) > >> 8. Re: > >> wxPythonåççé¢ç¨åºï¼å¨è°ç¨å¯æ§è¡æ件æ¶ï¼å¦ä½ è¾åºä¿¡æ¯ï¼ > >> (chunyan chen) > >> > >> > >> ---------------------------------------------------------------------- > >> > >> Message: 1 > >> Date: Thu, 21 Jun 2007 09:49:45 +0800 > >> From: "Neo Chen" <openunix在163.com> > >> Subject: [python-chinese] Django æ°æ®åºé®é¢? > >> To: <python-chinese在lists.python.cn> > >> Message-ID: <002101c7b3a6$7276cd80$6b640a0a在netkiller> > >> Content-Type: text/plain; charset="utf-8" > >> > >> çåå?.é½æ¯å åmodelsç¶åç¨å®å建è¡?ç¶åobject.all()ä» ä¹çæ¥æä½? > >> > >> æçä¹ æ¯æ¯ç¨DB Design å·¥å ·è®¾è®¡æ°æ®åº?ç¶åç´æ¥ç? > >> -------------- 下一部分 -------------- > >> ä¸ä¸ªHTMLé件被移é?.. > >> URL: http://python.cn/pipermail/python-chinese/attachments/20070621/e0c9d209/attachment.htm > >> -------------- 下一部分 -------------- > >> ä¸ä¸ªéææ¬éä»¶è¢«æ¸ é?.. > >> åä¿¡äº? %(who)s > >> 主题: %(subject)s > >> 日期: %(date)s > >> 大小: 1325 > >> Url: http://python.cn/pipermail/python-chinese/attachments/20070621/e0c9d209/attachment-0001.bin > >> > >> ------------------------------ > >> > >> Message: 2 > >> Date: Thu, 21 Jun 2007 10:06:36 +0800 > >> From: Brightman <mr.brightman在gmail.com> > >> Subject: [python-chinese] 请教简单问题,使用try > >> exceptçæ¶æ?> >> To: python-chinese在lists.python.cn, python-cn在googlegroups.com > >> Message-ID: <4679DD2C.20401在gmail.com> > >> Content-Type: text/plain; charset=GB2312 > >> > >> æ¯å¦ï¼?> >> data = self.rfile.read(ssize) > >> self.wfile.write("y") > >> æ½å¨ä¸é¢çé误ï¼ç±äºsocketè¿æ¥æå¼ï¼writeå°±ä¼æéè¯ ¯ï¼æ¯åºè¯¥ç¨try except > >> å èµ·æ¥ï¼è¿æ¯å ¶ä»ä»ä¹æ段å¤çï¼ï¼æ¯å¦cä¸æ£å¯è¿åå ¼ï¼ï¼æä¸äºè§£try > >> exceptï¼ä¸æ¢éæ使ç¨try exceptï¼æå½±åæ§è½ã请大家ææ ä¸ä¸ï¼è°¢è°¢ï¼?> >> > >> Traceback (most recent call last): > >> File "/home/forum/Python-2.5/Lib/SocketServer.py", line 222, in > >> handle_request > >> self.process_request(request, client_address) > >> File "/home/forum/Python-2.5/Lib/SocketServer.py", line 241, in > >> process_request > >> self.finish_request(request, client_address) > >> File "/home/forum/Python-2.5/Lib/SocketServer.py", line 254, in > >> finish_request > >> self.RequestHandlerClass(request, client_address, self) > >> File "/home/forum/Python-2.5/Lib/SocketServer.py", line 521, in __init__ > >> self.handle() > >> File "baoba.py", line 86, in handle > >> self.wfile.write("y") > >> File "/home/forum/Python-2.5/Lib/socket.py", line 261, in write > >> self.flush() > >> File "/home/forum/Python-2.5/Lib/socket.py", line 248, in flush > >> self._sock.sendall(buffer) > >> error: (32, 'Broken pipe') > >> > >> > >> ------------------------------ > >> > >> Message: 3 > >> Date: Thu, 21 Jun 2007 10:13:02 +0800 > >> From: "jondy" <jondynet在gmail.com> > >> Subject: Re: [python-chinese] > >> wxPythonåççé¢ç¨åºï¼å¨è°ç¨å¯æ§è¡æ件æ¶ï¼å¦ä½è¾å ºä¿¡æ¯ï¼ > >> > >> To: <python-chinese在lists.python.cn> > >> Message-ID: <007001c7b3a9$b4ca24e0$0a01a8c0在zhangdi> > >> Content-Type: text/plain; charset="gb2312" > >> > >> 我用的也是ub7.04 > >> os.system()可以打开个shell执行 > >> -------------- 涓���ㄥ� -------------- > >> ä¸ä¸ªHTMLé件被移é?.. > >> URL: http://python.cn/pipermail/python-chinese/attachments/20070621/805eab79/attachment.htm > >> > >> ------------------------------ > >> > >> Message: 4 > >> Date: Thu, 21 Jun 2007 10:13:19 +0800 > >> From: "Airecho Python" <airecho.python在gmail.com> > >> Subject: Re: [python-chinese] > >> 一个推广python的机会,请大家帮忙! > >> To: python-chinese在lists.python.cn > >> Message-ID: > >> <152bfd6c0706201913n2139fa1fo519d5f01a81924ec在mail.gmail.com> > >> Content-Type: text/plain; charset="gb2312" > >> > >> å?7-6-20ï¼boyeestudio <boyee118在gmail.com> åéï¼?> >> > >>> å°±æãdive into pythonãä¸ä¹¦å»è®²ï¼ä¿è¯ææï¼?> >>> ä¸ä¸ ªä¾åï¼N个æ¬å¿µï¼é£æ¯æ¬²ç½¢ä¸è½åï¼ï¼ï¼è®©åå¦è å¬å¾æ´¥æ´ ¥æå³ã?> >>> ä¸è¿ï¼ä½ è¦å¨å ³é®çå°æ¹ï¼è¯¥ç¹æçè¿æ¯ç¹æ ï¼æä¸ç¹æç就说ä¸åå解好äºã?> >>> åµåµã?> >>> > >>> > >> > >> 没é£ä¹å¤æ¶é´ï¼ä¸æ¬¡èå·²ã?> >> -------------- æ¶ï¿½ï¿½ï¿½ã ¥ï¿½ -------------- > >> ä¸ä¸ªHTMLé件被移é?.. > >> URL: http://python.cn/pipermail/python-chinese/attachments/20070621/cef2edf0/attachment.html > >> > >> ------------------------------ > >> > >> Message: 5 > >> Date: Thu, 21 Jun 2007 10:14:22 +0800 > >> From: QuJinlong <qujinlong123在gmail.com> > >> Subject: [python-chinese] > >> 使用Python自动修改Windows的IP、掩码、网关和DNS > >> To: python-chinese在lists.python.cn > >> Message-ID: > >> <ba7d119c0706201914j69c6cfbeo6afb85d8242b5d49在mail.gmail.com> > >> Content-Type: text/plain; charset="utf-8" > >> > >> å次å¦ä¹ 使ç¨Pythonåäºä¸ä¸ªå°çå®ç¨çå·¥å ·ï¼å¸æè½å¾ å°Pythoné«æçæç?> >> å°åä¸ºï¼ http://www.blogjava.net/qujinlong123/archive/2007/06/20/125434.html > >> 注ï¼ç»å¯¹ä¸æ¯å¹¿åï¼çå¿å¸æ大家ç»æè§ï¼ä»¥ä¾¿è½æé «èªå·±çPythonæ°´å¹³ > >> > >> > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese >_______________________________________________ >python-chinese >Post: send python-chinese在lists.python.cn >Subscribe: send subscribe to python-chinese-request在lists.python.cn >Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn >Detail Info: http://python.cn/mailman/listinfo/python-chinese _________________________________________________________________ ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà Live Messenger; http://get.live.com/messenger/overview
2007年06月21日 星期四 14:19
On 6/21/07, Neo Chen <openunix在163.com> wrote: > > 我还是喜欢DB生成 model . 可以少写代码. > > 再问一下Amold 你用过PHP,你知道python有没有类似php print_r(), var_dump()的东东.. > > import pprint pprint.pprint(xxx) -- simple is good http://brucewang.net skype: number5 -------------- 下一部分 -------------- 一个HTML附件被移除... URL: http://python.cn/pipermail/python-chinese/attachments/20070621/7f42fa12/attachment.htm
Zeuux © 2025
京ICP备05028076号