2018-08-22 15:56:39 +02:00
|
|
|
import os
|
|
|
|
from os.path import join
|
|
|
|
|
2018-07-05 16:53:56 +02:00
|
|
|
from bottle import Bottle, run
|
|
|
|
|
|
|
|
|
2018-08-22 15:56:39 +02:00
|
|
|
|
2018-07-05 16:53:56 +02:00
|
|
|
app = Bottle()
|
|
|
|
|
|
|
|
|
|
|
|
run(app, host='localhost', port=5000)
|
2018-08-22 15:56:39 +02:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
for root, dirs, files in os.walk('articles'):
|
|
|
|
for file in files:
|
|
|
|
print(os.path.join(root))
|