reading a file
Janos Blazi
jblazi at vipsurf.de
Wed Aug 30 08:53:03 EDT 2000
More information about the Python-list mailing list
Wed Aug 30 08:53:03 EDT 2000
- Previous message (by thread): reading a file
- Next message (by thread): reading a file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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! =-----
- Previous message (by thread): reading a file
- Next message (by thread): reading a file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list