Skip to content

Rhm-B-WT/PythonDiary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pythondiary

專案介紹

我的第一個網站!!!

網站網址(host by Heroku)

成品展示

使用技術

工具名稱 用途
Python 3 不需要解釋
Flask(python) 幫助我建立伺服器
HTML/CSS 網頁表示和排版
Heroku 託管網頁
Github 存放原始碼

程式碼片段

@app.route("/")
def home():
    temp = glob.glob("articles/*")
    fill = []
    for t in temp:
        length = len(glob.glob(t + "/*.txt"))
        category = t.replace("articles/", "")
        f = (category, length)
        fill.append(f)
    return render_template("index.html", cat=fill)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published