# [[ajking.io/Knowledge Base/Python|Python]] Poetry
[Poetry Cheatsheet](https://gist.github.com/CarlosDomingues/b88df15749af23a463148bd2c2b9b3fb)
Create a Python project:
```
poetry new myproject
```
Create a Python virtual environment for project
```
poetry env use C:\\Python38\\python.exe
```
Add dependency for project
```
poetry add pyglet
```
Add dependency for development
```
poetry add -D black mypy
```