FAQ

This works:
infile=open('/foo/bar/prog/py_modules/this_is_a_test','r')

This doesn't:
infile=open('~/prog/py_modules/this_is_a_test','r')

Can't I work with files using Unix expressions?
You can use the glob module:
http://docs.python.org/library/glob.html#module-glob

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 6 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedJun 20, '11 at 6:00a
activeJun 20, '11 at 10:08a
posts6
users6
websitepython.org

People

Translate

site design / logo © 2022 Grokbase