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