File handling problem.

Pascal Chambon chambon.pascal at wanadoo.fr
Sat May 2 10:46:28 CEST 2009


subhakolkata1234 at gmail.com a écrit :
> Dear Group,
>
> I am using Python2.6 and has created a file where I like to write some
> statistical values I am generating. The statistical values are
> generating in a nice way, but as I am going to write it, it is not
> taking it, the file is opening or closing properly but the values are
> not getting stored. It is picking up arbitrary values from the
> generated set of values and storing it. Is there any solution for it?
>
> Best Regards,
> SBanerjee.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
>   
Hello

Could you post excerpt of your file-handling code ?
It might be a buffering problem (although when the file closes, I think 
buffers get flushed), else it's really weird...

Regards,
pascal




More information about the Python-list mailing list