J
Joerg Schuster
Hello,
I want to open the file 'configuration.smo' that is in directory dir.
Yet, I don't know on which os my program is being run. On Unix I would
say:
f = open(dir + '/configuration.smo', 'r')
What is the os-independent version of this line?
(I have read the manual of the module os, but I didn't see how to do
it.)
Jörg Schuster
I want to open the file 'configuration.smo' that is in directory dir.
Yet, I don't know on which os my program is being run. On Unix I would
say:
f = open(dir + '/configuration.smo', 'r')
What is the os-independent version of this line?
(I have read the manual of the module os, but I didn't see how to do
it.)
Jörg Schuster