1. Log into GitHub
2. Fork this Gist
3. Edit your version to share your team's activity
PDF Liberation Hackpad
IRC: https://webchat.freenode.net/ Channel: #sunlightlabs
GitHub Markdown-Cheatsheet
| def get_texts(path): | |
| rows_list = [] | |
| for idx, label in enumerate(CLASSES): | |
| print(f'working on {path}/{label}') | |
| for fname in (path/f'{label}').glob('*.*'): | |
| dict1 = {} | |
| text = fname.open('r').read() | |
| dict1.update({ | |
| 'text':text, | |
| 'label':idx |
1. Log into GitHub
2. Fork this Gist
3. Edit your version to share your team's activity
PDF Liberation Hackpad
IRC: https://webchat.freenode.net/ Channel: #sunlightlabs
GitHub Markdown-Cheatsheet