[Python] Come fareste voi?

Simone Federici s.federici a gmail.com
Ven 19 Feb 2010 12:13:13 CET


from test import x,y,z

...
...
...

import test
reload(test)
from test import x,y,z


Simone Federici
-----------------------------------
Software Architect



2010/2/19 Andrea Gasparini <gaspa a yattaweb.it>

> Stefano Dal Pra spiffera, alle Friday 19 February 2010 circa:
> > La mia domanda quindi e' se posso forzare python a rileggere il file
> > senza dover uscire e rientrare da python?
> > In altre parole: esiste un modo piu' "brutale" di del <qualcosa> ?
>
> reload(test)
>
> bye
> --
> -gaspa-
> -----------------------------------------------
> -------- https://launchpad.net/~gaspa ---------
> ----- HomePage: http://gaspa.yattaweb.it ------
> -Il lunedi'dell'arrampicatore: www.lunedi.org -
> _______________________________________________
> Python mailing list
> Python a lists.python.it
> http://lists.python.it/mailman/listinfo/python
>
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: http://lists.python.it/pipermail/python/attachments/20100219/12944d13/attachment.htm 


Maggiori informazioni sulla lista Python