Imbaud Pierre wrote:

>              tf = tempfile.NamedTemporaryFile()
>              tfName = tf.name
> [...]
>              print >> sys.stderr, '%s: %s' % (tfName, ['no',
> 'yes'][os.path.exists(tfName)])
>              subprocess.Popen(['strings', tfName])

Just out of curiosity: Why did you assign tf.name to tfname?

Hypothetically, if tf.name changed, tfname wouldn't follow since
strings are immutable.

Regards,


Björn

-- 
BOFH excuse #149:

Dew on the telephone lines.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to