n 3.4.0 (default, Nov 27 2014, 13:54:17)
> [GCC4.7.2] on linux
> Type "help", "copyright", "credits" or "license" for more
> information.
>>>> import sqlite3
> Traceback (most recent calllast):
>File &quo
[GCC4.7.2] on linux2
>Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3|
>
>In python3.4
>
>|root@rebuild:~# python3.4
>Python 3.4.0 (default, Nov 27 2014, 13:54:17)
>[GCC4.7.2
install sqlite3 libsqlite3-dev|
In python2.7
|root@rebuild:~# python
Python 2.7.3 (default, Mar 14 2014, 11:57:14)
[GCC4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import sqlite3|
In python3.4
|
Gabriel Genellina 写道:
En Thu, 04 Jun 2009 03:14:18 -0300, willgun escribió:
I'm a student from China.It's painful for us to read python
documentation entirely due to poor english.So I often make these
mistakes.
Try "chinese python group" at Google - I see some promising results at
least...
Mark Tolonen 写道:
"willgun" wrote in message
news:h08c5e$au...@news.cn99.com...
By the way ,what does 'best regards' means at the end of a mail?
I think 恭祝 may be a good translation.
-Mark
O(∩_∩)O谢谢
Glad to meet a foreigner know Chinese, :-) .
But in my opinion,恭祝 means congratulation,wh
On Jun 4, 2009, at 7:45 AM, willgun wrote:
By the way ,what does 'best regards' means at the end of a mail?
"regards" is just respectful (and slightly formal) goodbye. Have a
look at the definition:
http://dictionary.reference.com/search?q=regards
It's used much more in written communicat
"willgun" wrote in message
news:h08c5e$au...@news.cn99.com...
By the way ,what does 'best regards' means at the end of a mail?
I think 恭祝 may be a good translation.
-Mark
--
http://mail.python.org/mailman/listinfo/python-list
En Thu, 04 Jun 2009 03:14:18 -0300, willgun escribió:
I'm a student from China.It's painful for us to read python
documentation entirely due to poor english.So I often make these
mistakes.
Try "chinese python group" at Google - I see some promising results at
least...
--
Gabriel Genell
Andrew McNamara wrote:
On 04/06/2009, at 9:45 PM, willgun wrote:
By the way ,what does 'best regards' means at the end of a mail?
The correspondent is wishing you well. You'll also see things like "kind
regards", "best wishes" and so on. "Regard" essentially means respect.
There's also "h
On Jun 4, 12:45 pm, willgun wrote:
> By the way ,what does 'best regards' means at the end of a mail?
"regard" means roughly "care".
Its use as "best regards" closing a letter (or, in this case, email),
means that you care for the person you're saying goodbye to. It's just
a polite way to end a
On 04/06/2009, at 9:45 PM, willgun wrote:
By the way ,what does 'best regards' means at the end of a mail?
The correspondent is wishing you well. You'll also see things like
"kind regards", "best wishes" and so on. "Regard" essentially means
respect.
--
http://mail.python.org/mailman/lis
By the way ,what does 'best regards' means at the end of a mail?
--
http://mail.python.org/mailman/listinfo/python-list
Andrew McNamara 写道:
On 04/06/2009, at 4:14 PM, willgun wrote:
What did you call the .py file? sqlite3.py? If so, you've just
imported your own module again. 8-)
After the import, try "print sqlite3.__file__", which will tell you
where the module came from.
Thank you all the same.
I'm a stu
On 04/06/2009, at 4:14 PM, willgun wrote:
What did you call the .py file? sqlite3.py? If so, you've just
imported your own module again. 8-)
After the import, try "print sqlite3.__file__", which will tell you
where the module came from.
Thank you all the same.
I'm a student from China.It'
Andrew McNamara 写道:
On 04/06/2009, at 3:15 PM, willgun wrote:
When i run the following in IDLE:
IDLE 2.6.1
import sqlite3
con =sqlite3.connect (r'g:\db1')
everything goes well,but when i save these to a .py file and run it:
Traceback (most recent call last):
File "C:\U
Gabriel Genellina 写道:
En Thu, 04 Jun 2009 02:15:39 -0300, willgun escribió:
Traceback (most recent call last):
File "C:\Users\hp\Desktop\SQLite3\sqlite3.py", line 2, in
import sqlite3
File "C:\Users\hp\Desktop\SQLite3\sqlite3.py", line 3, in
con=sqli
On 04/06/2009, at 3:15 PM, willgun wrote:
When i run the following in IDLE:
IDLE 2.6.1
import sqlite3
con =sqlite3.connect (r'g:\db1')
everything goes well,but when i save these to a .py file and run it:
Traceback (most recent call last):
File "C:\Users\hp\Desktop\SQL
En Thu, 04 Jun 2009 02:15:39 -0300, willgun escribió:
Traceback (most recent call last):
File "C:\Users\hp\Desktop\SQLite3\sqlite3.py", line 2, in
import sqlite3
File "C:\Users\hp\Desktop\SQLite3\sqlite3.py", line 3, in
con=sqlite3.connect(r'g:\db1&
Hi,everyone!
When i run the following in IDLE:
IDLE 2.6.1
>>> import sqlite3
>>> con =sqlite3.connect (r'g:\db1')
>>>
everything goes well,but when i save these to a .py file and run it:
>>>
Traceback (most recent call last):
File "C:\Users\hp\
jdetaeye wrote:
I am porting an application which embeds a Python interpreter to
Python 2.6.
On version 2.5 all is working fine, but importing the sqlite3 module
doesn't work any more on 2.6.
The statement "import sqlite3" does work fine when executed from in
the python command
I am porting an application which embeds a Python interpreter to
Python 2.6.
On version 2.5 all is working fine, but importing the sqlite3 module
doesn't work any more on 2.6.
The statement "import sqlite3" does work fine when executed from in
the python command prompt, ie not fr
27;sqlite' should be fine):
>
> > try:
> >from sqlite3 import dbapi2 as sqlite # python 2.5
>
> I've been using
>
> import sqlite3 as sqlite
>
> here
>
> sqlite3 and sqlite3.dbapi2 seem to be the same thing
>
> Python 2.5.1 (r251:5486
lite # python 2.5
I've been using
import sqlite3 as sqlite
here
sqlite3 and sqlite3.dbapi2 seem to be the same thing
Python 2.5.1 (r251:54863, Aug 17 2007, 00:51:07)
[GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2
Type "help", "copyright"
I use the following for a progam I wrote using sqlite, to ensure
maximum compatibility (since the API is the same, importing them both
as 'sqlite' should be fine):
try:
from sqlite3 import dbapi2 as sqlite # python 2.5
except:
try:
from pysqlite2 import dbapi2 as sqlite
except:
print
pysqlite2 import dbapi2
>>
>> and that works. If I try
>>
...
>> > Suppose I run the following program:
>> > import sqlite3
>>
>> > conn = sqlite3.connect('example')
>>
>> ...
>>
>> And from the rest of the posting that import
Op Wed, 21 Nov 2007 21:11:59 +0100, schreef Hertha Steck:
> After a second look at the error message: when I installed Gentoo,
> Python 2.4 was installed, I got the new version a little later. And I
> think I installed Pysqlite 2.3.5 separately.
>
> Python 2.5 comes with pysqlite - should I unins
On Nov 21, 3:02 pm, Hertha Steck <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm using Python 2.5.1, Pysqlite 2.3.5 and SQLite 3.4.1 on Gentoo Linux.
> I've always imported pysqlite using
>
> from pysqlite2 import dbapi2
>
> and that works. If I try
>
>
Hertha Steck wrote:
> Hello,
>
> I'm using Python 2.5.1, Pysqlite 2.3.5 and SQLite 3.4.1 on Gentoo Linux.
> I've always imported pysqlite using
>
> from pysqlite2 import dbapi2
>
> and that works. If I try
>
> import sqlite3
>
> I get
>
>
Hello,
I'm using Python 2.5.1, Pysqlite 2.3.5 and SQLite 3.4.1 on Gentoo Linux.
I've always imported pysqlite using
from pysqlite2 import dbapi2
and that works. If I try
import sqlite3
I get
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/p
29 matches
Mail list logo