importing pickle modlue execute the code twice ??

Fredrik Lundh fredrik at pythonware.com
Mon Oct 24 10:42:59 EDT 2005


"ychaouche" wrote:

> i am having a strange experience with the pickle module. I use
> python2.4 and i really don't understand what is happening on !
> take a look at this :
>
> <code>
> import pickle
> print "hello"
> </code>
> <trace>
> hello
> hello
> </trace>

did you perhaps name your test program "pickle.py" ?

</F> 






More information about the Python-list mailing list