Re: [Python] Python e animare immagini

2008-04-11 Per discussione enrico franchi
2008/4/11 Matteo Buferli <[EMAIL PROTECTED]>: > Cerchero' qualche frammento di codice sul web, se comunque hai modo di > esplicare la tua risposta mi farebbe piacere. ti ha detto una libreria grafica. carichi le immagini una dopo l'altra alla pressione di un tasto. Dirti di più vuole dire farte

Re: [Python] Python e animare immagini

2008-04-11 Per discussione Giorgio Zoppi
Era tardi quindi ho glissato. In realtà ci sono diversi modi: 1) Ti fai l'animazione in avi/mpeg e la carichi per esempio con il binding SDL per Python 2) usi una libreria per costruire GUI come wxPython per esempio: ti carichi le immagini in memoria, forse non ti servono nemmeno tutte, usi un wxT

[Python] Tkinter

2008-04-11 Per discussione Mauro Maccari
Ciao ragazzi, mi sto esercitando con Tkinter ma c'è una cosa che non riesco a fare. Quando spunto un checkbox vorrei chiamare una funzione che gira di continuo fin quando il checkbox non viene deselezionato. Ho fatto una piccola interfaccia ma selezionando il checkbox inizia la funzione ma non rie

Re: [Python] Tkinter

2008-04-11 Per discussione Daniele Varrazzo
On Fri, 11 Apr 2008 15:10:48 +0200, "Mauro Maccari" <[EMAIL PROTECTED]> wrote: > Ciao ragazzi, mi sto esercitando con Tkinter ma c'è una cosa che non > riesco a fare. > Quando spunto un checkbox vorrei chiamare una funzione che gira di > continuo fin quando il checkbox non viene deselezionato. >

Re: [Python] Tkinter

2008-04-11 Per discussione Mauro Maccari
ciao Daniele penso che la soluzione più facile sia richiamare il loop degli eventi visto che la funzione dura poco. come faccio a richiamarlo? questo è il codice: from Tkinter import * class Application(Frame): def __init__(self, master): frame = Frame() frame.pack(padx = 50

[Python] Garbage collection and OS

2008-04-11 Per discussione raffaello
Is it true that when an object is destroyed in a Python application the garbage collector does NOT give back the occupied memory to the Operating System as long as the application is running, but keeps it at the disposal of the same application? ___ Pyth

Re: [Python] Tkinter

2008-04-11 Per discussione Daniele Varrazzo
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> X-Sender: [EMAIL PROTECTED] Received: from 82.111.147.97 [82.111.147.97] with HTTP/1.1 (POST); Fri, 11 Apr 2008 17:51:11 +0200 User-Agent: RoundCube Webmail/0.1 Content-Type: text/plain; charset="UTF-8" Content-Transfer

Re: [Python] Garbage collection and OS

2008-04-11 Per discussione enrico franchi
On Fri, Apr 11, 2008 at 4:38 PM, raffaello <[EMAIL PROTECTED]> wrote: > Is it true that when an object is destroyed in a Python application > the garbage collector does NOT give back the occupied memory to the > Operating System as long as the application is running, but keeps it at the > disposa

[Python] R: suoni

2008-04-11 Per discussione renzo
Ho usato questo programmino trovato su internet ## import threading import os ( GSTPLAY, WINPLAY, NOENGINE ) = range(3) try: import gst import gobject ENGINE = GSTPLAY except ImportError: try

Re: [Python] Garbage collection and OS

2008-04-11 Per discussione raffaello
Scusami, Enrico, hai ragione. Cercherò di spiegarmi meglio dicendo cosa voglio ottenere. Scrivo dei programmi in wx.Python basati su una frame principale e su numerose frame secondarie destinate a operazioni usate raramente. Se la memoria usata da queste finestre secondarie NON viene restituita all

Re: [Python] Garbage collection and OS

2008-04-11 Per discussione enrico franchi
On Fri, Apr 11, 2008 at 7:24 PM, raffaello <[EMAIL PROTECTED]> wrote: > Scusami, Enrico, hai ragione. > Cercherò di spiegarmi meglio dicendo cosa voglio ottenere. > Scrivo dei programmi in wx.Python basati su una frame principale e su > numerose frame secondarie destinate a operazioni usate raramen

Re: [Python] Tkinter

2008-04-11 Per discussione Mauro Maccari
Grazie Daniele, era proprio ciò di cui avevo bisogno! Il 11/04/08, Daniele Varrazzo<[EMAIL PROTECTED]> ha scritto: > <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> > Message-ID: <[EMAIL PROTECTED]> > X-Sender: [EMAIL PROTECTED] > Received: from 82.111.147.97 [82.111.147.97] with HTTP/1.1 (POST); Fri,

Re: [Python] R: suoni

2008-04-11 Per discussione Enrico 'Henryx' Bianchi
renzo wrote: > Ho usato questo programmino trovato su internet Non hai detto se hai risolto o meno. Se non hai risolto, e` perche` non hai installato python-gst Enrico ___ Python mailing list Python@lists.python.it http://lists.python.it/mailman/list

Re: [Python] Tkinter

2008-04-11 Per discussione Daniele Varrazzo
Mauro Maccari ha scritto: > Grazie Daniele, era proprio ciò di cui avevo bisogno! Mi fa piacere! Ehi, ci vediamo al Pycon Due? http://www.pycon.it/ A presto! -- Daniele Varrazzo - Develer S.r.l. http://www.develer.com ___ Python mailing list Python@

Re: [Python] Garbage collection and OS

2008-04-11 Per discussione Nicola Larosa
raffaello wrote: > Is it true that when an object is destroyed in a Python application > the garbage collector does NOT give back the occupied memory to the > Operating System as long as the application is running, but keeps it > at the disposal of the same application? [Switching to Italian langu