write string content into path.
def write(self, content, mode='wb'):
origin: path.local
where:
function source:
def write(self, content, mode='wb'):
""" write string content into path. """
s = str(content)
f = self.open(mode)
try:
f.write(s)
finally:
f.close()
called in /home/johnny/projects/merlinux/py/dist/py/misc/rest.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/source/testing/test_browser.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py
called in /home/johnny/projects/merlinux/py/dist/py/documentation/test_conftest.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/source/testing/test_browser.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py
called in /home/johnny/projects/merlinux/py/dist/py/documentation/test_conftest.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/rest/genrest.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/source/testing/test_html.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/source/testing/test_html.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/rest/genrest.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/rest/genrest.py
called in /home/johnny/projects/merlinux/py/dist/py/path/local/local.py
called in /home/johnny/projects/merlinux/py/dist/py/apigen/rest/genrest.py