Hi,

	I am using a following code in a .py file
	
WRITEF = open('Script_Err.txt','a')
WRITEF.write('Good Morning')
WRITEF.write('\n')
WRITEF.close

	
If i try to run this file using jython command
c:\jython FileWrite.py
it creates a empty file

but if i run this using python command
c:\python FileWrite.py
it work perfectly

why is it so.??


"This e-mail message may contain confidential, proprietary or legally privileged information. It should not be used by anyone who is not the original intended recipient. If you have erroneously received this message, please delete it immediately and notify the sender. The recipient acknowledges that ICICI Bank or its subsidiaries and associated companies, (collectively "ICICI Group"), are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of ICICI Group.Before opening any attachments please check them for viruses and defects."