Python 鐵人賽:遺珠之憾 2018-10-30 python 最後一天,終於寫到這裡 第一次參加鐵人賽,很幸運的可以連續30天完成。甚至有些時候差點要超過時間完成不了鐵人賽看了之前鐵人賽的文章,似乎過了一 Read more...
Python 資料科學:Pandas 2018-10-29 python 今天來說說資料分析的Python modules — pandas 首先我們來安裝他 1 pip install pandas 接下來我要介紹在pandas兩個資料結構 Series 和 DataFrame他們的宣告很簡單 Read more...
Python 網頁:Flask 2018-10-28 python 寫到這裡真的覺得自己下次要參加鐵人賽要想清楚。 要規劃好內容,也可能自己要寫一些存擋備份(不知道那些完成鐵人賽的是不是都是這樣?) 不然有時候寫 Read more...
Python 網頁:Django- 來做一個部落格(2) 2018-10-27 python 今天,想把Django篇先結束XD 昨天,我們已經將post這個表註冊到後台並且已經migrate它現在,我們要開始做前端的畫面並且能夠顯示。 Read more...
Python 網頁:Django- 來做一個部落格(1) 2018-10-26 python 昨天我們已經建立好部落格的大概專案結構,如下 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ├── blog │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cPython-36.pyc │ │ ├── settings.cPython-36.pyc │ │ └ Read more...
Python網頁篇:Django- 簡介 2018-10-25 python 今天講點關於django概念上的東西 首先Django 的MVC不是傳統上的MVC ,而是MTVM- model.pyT- templatesV- View 詳細介紹可以參考此網址:http://m Read more...
Python網頁篇:Django- 初始環境 2018-10-24 python 現在開始來講用Python開發網頁,這一篇到後面幾篇來講講用Django 架設一個用markdown寫作的部落格。 也藉著這個範例來說明一下dj Read more...
Python 走入現實:json 2018-10-23 python 今天來講怎麼用Python怎麼讀取json. json 是一個資料表示的型式。以範例來看: 1 2 3 4 5 6 7 8 9 10 11 import json # json 的資料形式字串 x = '{ "name":"jim", "age":25, "city":"Taiwan"}' # 轉 Read more...
Python 走入現實:selenium+爬蟲 2018-10-22 python 昨天介紹了selenium 這個module今天來加強版,讓selenium 和beautifulSoup結合為一 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Read more...
Python 走入現實:selenium 2018-10-21 python 今天來介紹一個特別的module: selenium他是一個可以控制瀏覽器的module. 但如果你要控制瀏覽器載入這個module以外也要在下 Read more...