hi,<br>
iam a beginner.<br>
<br>
sample_file = file(&quot;/home/ee08m082/Desktop/python/123.txt&quot;,&quot;w&quot;)<br>
sample_file.write(&quot;About Pythons\n&quot;)<br>
<br>
in the above two line code,123.txt is being created but &quot;About Pythons&quot; is not being written in the file.<br>
my OS is  redhat  linux and python version is 2.3.4<br>
<br>
thanks <br>