scusate, stavo cercando di importare il modulo curses ma l'interprete mi da errore. La versione python installata e' la 2.6.4 e se eseguo "import curses" l'interprete mi risponde:
>>> import curses Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python26\lib\curses\__init from _curses import * ImportError: No module named _curses ho controllato e la libreria esiste (C:\Python26\Lib\curses). sapete il perche'? 2009/11/23 Massimo Capanni <massimo.capa...@gmail.com> > il problema non era cosi' semplice :) (date le mie limitate conoscenze > python) > > vi ringrazio dei suggerimenti, mi metto a lavoro. > > ciao > > max > > 2009/11/23 Marco Mariani <marco.mari...@prometeia.it> > > Massimo Capanni wrote: >> >> > non riesco a venire a capo di un problema apparentemente semplice. >> > >> > Sto realizzando un semplice programma di memorizzazione dati su file, >> > utilizzando la consolle a caratteri (niente interfacce grafiche quindi). >> >> Usi gia' ncurses? >> >> > Il problema e' che non riesco a trovare un modo semplice di modificare >> > i dati inseriti, ad esempio: se il dato memorizzato su file e' un >> > testo di tot caratteri, come posso modificarlo dal prompt a caratteri? >> > Pensavo a un buffer editabile ma mi sfugge il modo di realizzarlo. >> >> Se puo' aiutare, >> >> http://excess.org/urwid/ >> >> >> -- >> This e-mail (and any attachment(s)) is strictly confidential and for use >> only by intended recipient(s). Any use, distribution, reproduction or >> disclosure by any other person is strictly prohibited. The content of this >> e-mail does not constitute a commitment by the Company except where provided >> for in a written agreement between this e-mail addressee and the Company. If >> you are not an intended recipient(s), please notify the sender promptly and >> destroy this message and its attachments without reading or saving it in any >> manner. Any non authorized use of the content of this message constitutes a >> violation of the obligation to abstain from learning of the correspondence >> among other subjects, except for more serious offence, and exposes the >> person responsible to the relevant consequences. >> >> _______________________________________________ >> Python mailing list >> Python@lists.python.it >> http://lists.python.it/mailman/listinfo/python >> > >
_______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python