打開 http://phantomjs.org/download.html
選擇Mac OS X 下的點擊下載
下載完成後,解壓縮
vim ~/.bash_profile加入一行如下
執行source後,輸入phantomjs
打開 http://phantomjs.org/download.html
選擇Mac OS X 下的點擊下載
下載完成後,解壓縮
vim ~/.bash_profile加入一行如下
執行source後,輸入phantomjs
class MetaCls(type): def __new__(cls, *args, **kwargs): print("in MetaCls") # return super(Meta