help with ? on popen under w98

Matthew Miller matthewm at es.co.nz
Fri Dec 24 19:04:17 EST 1999


hi all,

something like...

os.popen('date','w').write(new_date) works fine under NT but i've had no
success using this under w98 - it just ignores what is piped to it.

i've had to resort to writing a file with the date, and then issue 'date
< .\\new_date'

surely, there has to be a better way! thanks for the help. matthew.






More information about the Python-list mailing list