2006年12月11日 星期一 11:41
找了很久,只有for 2.4的pysqlite,而且安装也不行。我的python是2.5
2006年12月11日 星期一 11:51
SQLite3ÏÖÔÚ²»ÊÇPythonµÄÄÚÖñê×¼¿âÁËô£¬ÄãÊÔÊÔ¿´import sqlite3 2006/12/11, OnMyWay <onmyway.q在gmail.com>: > > ÕÒÁ˺ܾã¬Ö»ÓÐfor 2.4µÄpysqlite,¶øÇÒ°²×°Ò²²»ÐС£ÎÒµÄpythonÊÇ2.5 > _______________________________________________ > 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 -- »¶Ó·ÃÎÊ£º http://blog.csdn.net/ccat ÁõöÎ March.Liu -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061211/70e7a81e/attachment-0001.html
2006年12月12日 星期二 00:30
一直没有上2.5就是觉得很多库还有待完善。 在 06-12-11,刘鑫<march.liu at gmail.com> 写道: > SQLite3现在不是Python的内置标准库了么,你试试看import sqlite3 > > 2006/12/11, OnMyWay <onmyway.q at gmail.com>: > > 找了很久,只有for 2.4的pysqlite,而且安装也不行。我的python是2.5 > > _______________________________________________ > > 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 > > > > -- > 欢迎访问: > http://blog.csdn.net/ccat > > 刘鑫 > March.Liu > > _______________________________________________ > 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 > -- 武长斌 chbin.w at gmail.com
2006年12月12日 星期二 08:49
Õâ¸ö¿â²»Í¬£¬SQLiteÔÚPython2.5ÖÐÊÇÄÚÖñê×¼¿â¡£ 2006/12/12, Î䳤±ó <chbin.w在gmail.com>: > > һֱûÓÐÉÏ2.5¾ÍÊǾõµÃºÜ¶à¿â»¹ÓдýÍêÉÆ¡£ > > ÔÚ 06-12-11£¬ÁõöÎ<march.liu在gmail.com> дµÀ£º > > SQLite3ÏÖÔÚ²»ÊÇPythonµÄÄÚÖñê×¼¿âÁËô£¬ÄãÊÔÊÔ¿´import sqlite3 > > > > 2006/12/11, OnMyWay <onmyway.q在gmail.com>: > > > ÕÒÁ˺ܾã¬Ö»ÓÐfor 2.4µÄpysqlite,¶øÇÒ°²×°Ò²²»ÐС£ÎÒµÄpythonÊÇ2.5 > > > _______________________________________________ > > > 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 > > > > > > > > -- > > »¶Ó·ÃÎÊ£º > > http://blog.csdn.net/ccat > > > > ÁõöÎ > > March.Liu > > > > _______________________________________________ > > 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 > > > > > -- > Î䳤±ó > chbin.w在gmail.com > _______________________________________________ > 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 -- »¶Ó·ÃÎÊ£º http://blog.csdn.net/ccat ÁõöÎ March.Liu -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061212/0049244c/attachment.html
2006年12月17日 星期日 22:28
ÔÚdjango-0.95°æÀﻹÊÇÓõÄpysqlite2£¬ÔÚ Django-0.95-py2.5.egg /django/db/backends/sqlite3/base.pyÖÐÉùÃ÷ÈçÏ """ SQLite3 backend for django. Requires pysqlite2 (http://pysqlite.org/). """ from django.db.backends import util try: from pysqlite2 import dbapi2 as Database ##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ except ImportError, e: from django.core.exceptions import ImproperlyConfigured raise ImproperlyConfigured, "Error loading pysqlite2 module: %s" % e Èç¹ûÊÇpython2.5µÄ»°£¬ÓÉÓÚÄÚÖÃÁËsqlite3£¬ËùÒÔ²»ÐèÔÚ×°pysqlite2ÁË¡£ Òò´ËÈç¹ûÓÐÓÃPython2.5ºÍDjango0.95ºÍsqlite3Ò»Æð¹¤×÷µÄͬ־¾ÍÐèÒªÐÞ¸ÄÒ»ÏÂÉÏÃæµÄÄÇÒ»ÐУº Ð޸ģº from pysqlite2 import dbapi2 as Database Ϊ£º from sqlite3 import dbapi2 as Database ¾Í¿ÉÒÔÁË¡£ ´ÓSVNÖÐÈ¡³öµÄ×îÐÂdjango°æ±¾ÒѾÐÞÕýÁËÕâ¸öСÎÊÌâ¡£Ò²ÊÇÔÚbase.pyÖУ¬¶ÔÓ¦µÄ²¿·ÖÒѾ±äΪ£º """ SQLite3 backend for django. Requires pysqlite2 (http://pysqlite.org/). """ from django.db.backends import util try: try: from sqlite3 import dbapi2 as Database except ImportError: from pysqlite2 import dbapi2 as Database except ImportError, e: import sys from django.core.exceptions import ImproperlyConfigured if sys.version_info < (2, 5, 0): module = 'pysqlite2' else: module = 'sqlite3' raise ImproperlyConfigured, "Error loading %s module: %s" % (module, e) Ó¦¸Ã¾ÍûÓÐÎÊÌâÁË¡£ *Forwarded Conversation* Subject: *[python-chinese] pysqlite ÓÐûÓпÉÒÔÅÜÔÚ2.5Éϵİ汾£¿* ------------------------ * From: OnMyWay* <onmyway.q在gmail.com> Reply-To: python-chinese在lists.python.cn To: python-chinese <python-chinese在lists.python.cn> Date: Mon, Dec 11, 2006 at 11:41 AM ÕÒÁ˺ܾã¬Ö»ÓÐfor 2.4µÄpysqlite,¶øÇÒ°²×°Ò²²»ÐС£ÎÒµÄpythonÊÇ2.5 _______________________________________________ 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 -------- * From: ÁõöÎ* <march.liu在gmail.com> Reply-To: python-chinese在lists.python.cn To: python-chinese在lists.python.cn Date: Mon, Dec 11, 2006 at 11:51 AM SQLite3ÏÖÔÚ²»ÊÇPythonµÄÄÚÖñê×¼¿âÁËô£¬ÄãÊÔÊÔ¿´import sqlite3 2006/12/11, OnMyWay <onmyway.q在gmail.com>:[Quoted text hidden] -- »¶Ó·ÃÎÊ£º http://blog.csdn.net/ccat ÁõöÎ March.Liu _______________________________________________ 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 -------- * From: Î䳤±ó* <chbin.w在gmail.com> Reply-To: python-chinese在lists.python.cn To: python-chinese在lists.python.cn Date: Tue, Dec 12, 2006 at 12:30 AM һֱûÓÐÉÏ2.5¾ÍÊǾõµÃºÜ¶à¿â»¹ÓдýÍêÉÆ¡£ ÔÚ 06-12-11£¬ÁõöÎ<march.liu在gmail.com> дµÀ£º [Quoted text hidden] Î䳤±ó chbin.w在gmail.com [Quoted text hidden] -------- * From: ÁõöÎ* <march.liu在gmail.com> Reply-To: python-chinese在lists.python.cn To: python-chinese在lists.python.cn Date: Tue, Dec 12, 2006 at 8:49 AM Õâ¸ö¿â²»Í¬£¬SQLiteÔÚPython2.5ÖÐÊÇÄÚÖñê×¼¿â¡£ 2006/12/12, Î䳤±ó <chbin.w在gmail.com>:[Quoted text hidden] -- [Quoted text hidden] _______________________________________________ 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 -------- -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20061217/944424db/attachment-0001.htm
Zeuux © 2025
京ICP备05028076号