Collection for Y2017W34 (2017-08-21 Mon 00:00:00 +0800 ~ 2017-08-28 Mon 00:00:00 +0800)
ai
curl
devops
golang
github
python
- smtpd — Sample Mail Servers — PyMOTW 3
- A Rebuttal For Python 3 / fuzzy notepad
-
Zed Shaw, of Learn Python the Hard Way fame, has now written The Case Against Python 3. I’m not involved with core Python development. The only skin I have in this game is that I like Python 3. It’s a good language.
- 整篇都在為 Python 3 平反,狂打臉 Learn Python the Hard Way 的作者。
-
- GitHub - QQuick/Transcrypt: Python 3.6 to JavaScript compiler - Lean, fast, open! ---
-
Operator = added, a = b converted to a = a ** b Operator @= added, M3 @= M2 converted to M3 = M3 @ M2, same as for other augmented assignment ops Compilation error report now contains detailed import sequence Enhancement for issue #281: tup
-
- 嫌 Python 太慢?并行运算 Process Pools 三行代码给你 4 倍提速!_36 氪
import concurrent.futures
with concurrent.futures.ProcessPoolExecutor() as executor:
executor.map(func, args)
- Python 3 才有,有認識的人表示因為這個 library 真的太棒了,公司原本用 Python 2 的程式碼為了要用這個函式庫,特地改寫成 Python 3。
- 在碼天狗第 76 期也有被介紹過,是個可以讓 concurrent 變得像寫一般的 for loop 一樣輕鬆簡單的 library。
- 原文:https://medium.com/@ageitgey/quick-tip-speed-up-your-python-data-processing-scripts-with-process-pools-cf275350163a
- 11.7. glob — Unix style pathname pattern expansion — Python 3.6.2 documentation
-
The glob module finds all the pathnames matching a specified pattern according to the rules used by the Unix shell, although results are returned in arbitrary order. No tilde expansion is done, but *, ?, and character ranges expressed with [] will be correctly matched. This is done by using the os.
- 簡單來說就是在 Python 用 UNIX 的 file path pattern expansion,像是
*
,**/*
等等。
-
- python - How to stop Flask from initialising twice in Debug Mode? - Stack Overflow
- When building a Flask service in Python and setting the debug mode on, the Flask service will initialise twice. When the initialisation loads caches and the like, this can take a while. Having to do this twice is annoying when in development (debug) mode.
security
- 滲透測試基本技巧與經驗分享
- BambooFox 的學弟在 HITCON CMT 2017 講的議程,投影片做得挺充實且易懂的。
- bof – Blog of Morpheuz
- 算是簡單易懂的 bof pwn 的教學。
taiwan
- 一波三折的台灣太空夢:福衛五號發射成功,那你知道還有福衛一到七號、蕃薯號嗎? - INSIDE 硬塞的網路趨勢觀察
-
福衛五號將於 25 日凌晨 2 時 50 分發射升空,為台灣自製衛星立下重要里程碑,台灣衛星史除了已除役的福衛一號、二號,服役中的福衛三號外,還有計畫終止的福衛四號及福衛六號。
-
Share
Donation
如果覺得這篇文章對你有幫助, 除了留言讓我知道外, 或許也可以考慮請我喝杯咖啡, 不論金額多寡我都會非常感激且能鼓勵我繼續寫出對你有幫助的文章。
If this blog post happens to be helpful to you, besides of leaving a reply, you may consider buy me a cup of coffee to support me. It would help me write more articles helpful to you in the future and I would really appreciate it.