Matthias Vogelgesang 8abe27269a Ignore .pyc files | пре 9 година | |
---|---|---|
.gitignore | пре 9 година | |
README.md | пре 9 година | |
concert_workspacecreator.py | пре 9 година | |
setup.py | пре 9 година |
Create a workspace with
from concert.third.workspacecreator import WorkspaceCreator
creator = WorkspaceCreator('foo/bar/baz')
workspace = creator.create()
print(workspace.path)
workspace.close()
or let close automatically with the context manager
with creator.create() as workspace:
print(workspace.path)