[Python] Modulo MySQLdb

2008-09-22 Per discussione Vittorio Zuccala'
Ciao a tutti,
ho un piccolo problemino con questo modulo (tenete conto che sono davvero
nuovo di questo linguaggio...)
Ho scaricato ed installato su windows il modulo in oggetto.
Ho provato un programmino semplice semplice copiato da web
e funziona perfettamente sulla Python Shell...
Anche la importazione del modulo non da messaggi di errore.
Se però copio il medesimo codice su un file di testo e lo lancio
con python.exe programma.py mi restituisce l'errore di caricamento
del modulo...
ImportError: No module named MySQLdb
Quale può essere il problema?
Grazie infinite!!

-- 
Vittorio Zuccalà
___
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python


Re: [Python] Digest di Python, Volume 29, Numero 12

2008-09-22 Per discussione Massimo Capanni
fantastico!

grazie



2008/9/22  [EMAIL PROTECTED]:
 Invia le richieste di iscrizione alla lista Python all'indirizzo
python@lists.python.it

 Per iscriverti o cancellarti attraverso il web, visita
http://lists.python.it/mailman/listinfo/python
 oppure, via email, manda un messaggio con oggetto `help' all'indirizzo
[EMAIL PROTECTED]

 Puoi contattare la persona che gestisce la lista all'indirizzo
[EMAIL PROTECTED]

 Se rispondi a questo messaggio, per favore edita la linea dell'oggetto
 in modo che sia più utile di un semplice Re: Contenuti del digest
 della lista Python...


 Argomenti del Giorno:

   1. Interfaccia Db (Massimo Capanni)
   2. [ANNOUNCE] PyGoocanvas 0.12.0 (Gian Mario Tagliaretti)
   3. Re: Interfaccia Db (MauX)


 --

 Message: 1
 Date: Sun, 21 Sep 2008 15:30:49 +0200
 From: Massimo Capanni [EMAIL PROTECTED]
 Subject: [Python] Interfaccia Db
 To: python@lists.python.it
 Message-ID:
[EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1

 Salve a tutti,

 esiste un modulo in python per interfacciarsi con i database come DBI in Perl?


 --

 Message: 2
 Date: Sun, 21 Sep 2008 17:28:54 +0200
 From: Gian Mario Tagliaretti [EMAIL PROTECTED]
 Subject: [Python] [ANNOUNCE] PyGoocanvas 0.12.0
 To: [EMAIL PROTECTED], pygtk-list [EMAIL PROTECTED],
Discussioni generali sul linguaggio Python python@lists.python.it,
[EMAIL PROTECTED]
 Message-ID:
[EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1

 I am pleased to announce version 0.12.0 of the Python bindings for Goocanvas.

 It is available at:

 http://download.gnome.org/sources/pygoocanvas/0.12/

 The bindings are updated with the new Goocanvas API

 PyGooCanvas 0.12.0  (Sep 21 2008)
 ==

  o wrap goocanvas.Points fields (Gian Mario)
  o add a gradient demo to test fill_pattern (Gian Mario)
  o wrap Item.get_requested_area() and  Item.update() (Gian Mario)
  o wrap Item.get_transform_for_child() (Gian Mario)
  o manually wrap Item.set_transform() and ItemModel.set_transform(). It' is 
 now
   possible to use None to unset the matrix (Gian Mario)
  o manually wrap goocanvas.create_cairo_context() and fix a bad API change
   in Pycairo. (Gian Mario)
  o demo play (and drag around...) a flash file into a canvas item. (Gian 
 Mario)
  o some docs fixes. (Gian Mario)

 Blurb:
 ==

 Goocanvas [1] is a canvas widget for GTK+, It is similar in many ways
 to  FooCanvas, hence the name, but it uses cairo for rendering, it has
 an optional  model/view split, and uses interfaces for items  views
 (so you can easily turn any application object into a canvas item or
 view).

 PyGooCanvas is a wrapper which exposes the goocanvas API to the
 python world.  It is fairly complete; most of the API are covered.

 The documentation is done, anyway bug reports on docs are really
 important to improve the documentation.

 Like the GTK+ library, PyGTK and GooCanvas itself PyGooCanvas is
 licensed under  the GNU LGPL, so is suitable for use in both
 free software and proprietary applications.

 PyGooCanvas requires:
 =

  o Goocanvas = 0.10.0
  o PyGObject = 2.10.1 (2.11.3 to build the docs)
  o PyGTK = 2.10.4
  o PyCairo = 1.4.0

 Bug reports should go to
 http://bugzilla.gnome.org/

 [1] http://live.gnome.org/GooCanvas

 cheers
 --
 Gian Mario Tagliaretti
 GNOME Foundation member
 [EMAIL PROTECTED]


 --

 Message: 3
 Date: Sun, 21 Sep 2008 19:29:29 +0200
 From: MauX [EMAIL PROTECTED]
 Subject: Re: [Python] Interfaccia Db
 To: Discussioni generali sul linguaggio Python
python@lists.python.it
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain

 Il giorno dom, 21/09/2008 alle 15.30 +0200, Massimo Capanni ha scritto:
 esiste un modulo in python per interfacciarsi con i database come DBI
 in Perl?

 oh yes: http://wiki.python.org/moin/DatabaseProgramming




 --

 ___
 Python mailing list
 Python@lists.python.it
 http://lists.python.it/mailman/listinfo/python


 Fine di Digest di Python, Volume 29, Numero 12
 **

___
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python