grimboite/editor.py

17 lines
268 B
Python

import os
from os.path import join
from bottle import Bottle, run
app = Bottle()
run(app, host='localhost', port=5000)
if __name__ == "__main__":
for root, dirs, files in os.walk('articles'):
for file in files:
print(os.path.join(root))