Metflar
se non posti la documentazione e non dici dove hai problemi come possiamo aiutarti?
Avevo scritto nel primo post... ecco il problema che ho adesso, per la precisione:
Codice:
>>> itunes = win32com.client.Dispatch('itunes.Application')
>>> libreria = itunes.LibraryPlaylist
>>> tracce = libreria.Tracks
>>> traccia1 = tracce.Item(1)
>>> testi = traccia1.Lyrics
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
File "C:\Python26\lib\site-packages\win32com\client\__init__.py", line 462, in __getattr__
raise AttributeError("'%s' object has no attribute '%s'" % (repr(self), attr))
AttributeError: '<win32com.gen_py.iTunes 1.12 Type Library.IITTrack instance at 0x36978480>' object has no attribute 'Lyrics'
>>>
Insomma, il problema è che non riesco ad accedere ai testi, non riuscendo così ad aggiungerli con il resto del codice