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\Desktop\SQLite3\sqlite3.py", line 2, in
import
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
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
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
By the way ,what does 'best regards' means at the end of a mail?
--
http://mail.python.org/mailman/listinfo/python-list
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,恭祝
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 promisi
Unfortunately,I'm on win32.
Actually,I prefer a cross-platform method.
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,everyone!
How to get the total size of a local hard disk?
I mean total size,not free space.
Thanks in advance!
--
http://mail.python.org/mailman/listinfo/python-list