will it cause any problems to open a read-only file & not close it?

Sara Khalatbari sarapythonlist at yahoo.com
Mon Mar 14 07:13:55 EST 2005


Dear friends
In a code, I'm opening a file to read. Like :
    lines = open(filename).readlines()
& I'm never closing it.
I'm not writing in that file, I just read it.

Will it cause any problems if you open a file to read
& never close it?



		
__________________________________ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs



More information about the Python-list mailing list