參考網址:https://artem.krylysov.com/blog/2015/09/29/benchmark-python-json-libraries/
- 6月 04 週一 201816:15
【Python】最好的JSON解析器
- 5月 27 週日 201805:40
【Python】連線遠端MySQL
伺服端:
MySQL 5.7 Command Line Client輸入指令
MySQL 5.7 Command Line Client輸入指令
- 5月 18 週五 201802:41
【Python】陣列元素計算最佳套件
from collections import Counter
- 4月 28 週六 201820:29
【Python3】MySQL select join update
import pymysql
db = pymysql.connect("localhost","root","password","db_name" )
db = pymysql.connect("localhost","root","password","db_name" )
- 4月 22 週日 201813:22
Python3取代哪些Python2
常常發現python2方法在python3不一樣,以下只是我遇到的
【SimpleHTTPServer →http.server】
【SimpleHTTPServer →http.server】
- 3月 29 週四 201817:01
【python】Kickstart爬蟲
原本使用requests但看不見跑到哪,有時候印title當掉appen的東西消失,所以改用chormdiver
from bs4 import BeautifulSoup
import requests
from bs4 import BeautifulSoup
import requests
- 3月 25 週日 201801:28
【Python】個位數日期不補0
不知道為什麼中文這麼難找資源OAo
>>>import datetime
>>>import datetime
- 3月 23 週五 201822:30
【Python】網址特殊符號轉utf8
(環境Python3)
打API 有時候遇到字串 有一個 特殊符號 & 他會誤以為是and
打API 有時候遇到字串 有一個 特殊符號 & 他會誤以為是and
- 3月 18 週日 201817:35
【Python】編譯環境安裝與新增專案-Visual Studio 2015

微軟說 Visual Studio 是世界上最強大的編譯器,python這麼夯,也勢必要提供撰寫環境吧?!
果不出其然是有辦法擴充的!
- 3月 15 週四 201802:23
【Python】lxml套件安裝
寫python時遇到以下錯誤
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Programs\Python\Python35-32\lib\site-packages\bs4\__init__.py", line 165, in __init__
% ",".join(features))
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Programs\Python\Python35-32\lib\site-packages\bs4\__init__.py", line 165, in __init__
% ",".join(features))
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?
1
