[Python] sqlite

2010-12-28 Thread Dalbosco Filippo
Sto iniziando a scrivere il mio primo codice python Ecco: import sqlite3 conn = sqlite3.connect('esempio-stocks.sqlite') c = conn.cursor() try: c.execute('DROP TABLE stocks') except: pass # Create table c.execute('''create table stocks (date text, trans text, symbol text,

Re: [Python] sqlite

2010-12-28 Thread Simone Dalla
http://docs.python.org/library/sqlite3.html -- Simo - Registered Linux User #395060 - Software is like sex, it is better when it is free --> Linus B. Torvalds ___ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/pyth

Re: [Python] sqlite

2010-12-28 Thread Carlo Miron
On Tue, Dec 28, 2010 at 16:05, Dalbosco Filippo wrote: > ### questo  ( è copiato da Active Python 2.6 documentation...)mi da > ## Traceback (most recent call last): > ##  File "", line 38, in > ##sqlite3.OperationalError: cannot commit transaction - SQL > statements i

Re: [Python] sqlite

2010-12-28 Thread Filippo Dal Bosco -
Il giorno Tue, 28 Dec 2010 16:19:47 +0100 Simone Dalla ha scritto: > http://docs.python.org/library/sqlite3.html questa l' ho letta. Il codice scritto è copiato da lì Ma questa ha troppi pochi esempi -- Filippo ___ Python mailing list Python@lists.

[Python] Python su Android

2010-12-28 Thread Roberto
Ciao a tutti, vorrei segnalarvi la possibilità di programmare nel nostro amatissimo linguaggio su Android. SL4A (Scripting Layer for Android) http://code.google.com/p/android-scripting/ Io l'ho scoperto da pochi giorni, ho cercato la notizia in lista e non l'ho trovata, per cui ve lo segnalo.

Re: [Python] sqlite

2010-12-28 Thread Simone Dalla
Il giorno 28 dicembre 2010 18:15, Filippo Dal Bosco - < filippo.dalbo...@libero.it> ha scritto: > Il giorno Tue, 28 Dec 2010 16:19:47 +0100 > Simone Dalla ha scritto: > > > http://docs.python.org/library/sqlite3.html > questa l' ho letta. > Il codice scritto è copiato da lì > Ma questa ha troppi

Re: [Python] Python su Android

2010-12-28 Thread Fabrizio Fortunato
Grazie, ho preso da poco un tablet con android. Lo proveró appena possibile :) ___ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python