>Any idea how I can do that in such a way that it works on both Linux and
Windows?

or maybe something like:

>>> import os
>>> import tempfile
>>> fd, tmpcov = tempfile.mkstemp()
>>> with open(tmpcov, "w") as text_file:
...         text_file.write("jshdfhg")
>>> text_file.close()
>>> os.close(fd)
>>> os.remove(tmpcov)



-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to