reading a file
Janos Blazi
jblazi at vipsurf.de
Wed Aug 30 08:53:03 EDT 2000
I'd like to read a file *if it exists* (and do nothing if the file does not
exist). Which is the simplest way of doing this? I am doing this with
try-except at the moment but it is a bit ugly, especially as a do not have
anything to do in the except clause.
Janos Blazi
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
More information about the Python-list
mailing list