From: DEEPAK P. /EXT/BILLJ/B. <dee...@bi...> - 2003-01-02 19:25:05
|
Hi, I am using a following code in a .py file =09 WRITEF =3D open('Script_Err.txt','a') WRITEF.write('Good Morning') WRITEF.write('\n') WRITEF.close =09 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.?? --=20 "This e-mail message may contain confidential, proprietary or legally privi= leged information. It=20 should not be used by anyone who is not the original intended recipient. If= you have erroneously=20 received this message, please delete it immediately and notify the sender. = The recipient=20 acknowledges that ICICI Bank or its subsidiaries and associated companies, = (collectively "ICICI=20 Group"), are unable to exercise control or ensure or guarantee the integrit= y of/over the contents of the information contained in e-mail transmissions= and further acknowledges that any views=20 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 s= o expressly with due authority of ICICI Group.Before opening any attachment= s please check them for viruses and defects."=20 |