2013年8月13日 星期二
python 取得區域變數 locals() 與全域變數 globals()
python get function parameter
>>> help('func')
寫在函式裏的註解說明會被顯示出來
>>> inspect.getargspec(func)
Get the names and default values of a Python function’s arguments.
2013年8月10日 星期六
2013年8月9日 星期五
auto create, update time in sqlalchemy
Column('creation_date', DateTime, default=func.now()),
Column('last_modified', DateTime, onupdate=func.now()),
Column('last_modified', DateTime, onupdate=func.now()),
2013年8月6日 星期二
2013年8月2日 星期五
滷大腸
去腥
1. 在市場買到已翻好的大腸,將大腸在鍋子內,加入麵粉與白醋將雜質揉出來,然後用清水洗淨
2. 起滾水,加入薑、蒜、大腸,煮至大腸可用筷子戳過 (約 1 小時)
滷鍋
1. 將冰糖與少許油炒至糖融化、變色
2. 蔥、薑、蒜、辣椒(去籽)、香菜頭用刀子拍過,洋蔥切片,炒香
3. 加入醬油、紹興酒煮滾 30 分鐘
滷大腸
滷鍋煮滾,加蓋滷 30 分鐘,然後開蓋泡 10 分鐘
Reference :
美食鳳味 郭主義 滷大腸食譜 - YouTube
1. 在市場買到已翻好的大腸,將大腸在鍋子內,加入麵粉與白醋將雜質揉出來,然後用清水洗淨
2. 起滾水,加入薑、蒜、大腸,煮至大腸可用筷子戳過 (約 1 小時)
滷鍋
1. 將冰糖與少許油炒至糖融化、變色
2. 蔥、薑、蒜、辣椒(去籽)、香菜頭用刀子拍過,洋蔥切片,炒香
3. 加入醬油、紹興酒煮滾 30 分鐘
滷大腸
滷鍋煮滾,加蓋滷 30 分鐘,然後開蓋泡 10 分鐘
Reference :
美食鳳味 郭主義 滷大腸食譜 - YouTube
訂閱:
文章 (Atom)


