Matthias Vogelgesang 8abe27269a Ignore .pyc files | há 9 anos atrás | |
---|---|---|
.gitignore | há 9 anos atrás | |
README.md | há 9 anos atrás | |
concert_workspacecreator.py | há 9 anos atrás | |
setup.py | há 9 anos atrás |
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)