[閒聊] 我覺得超好笑

看板Python作者 (huggie)時間16年前 (2008/06/04 08:34), 編輯推噓5(506)
留言11則, 7人參與, 最新討論串1/1
剛看了一篇作者,是四五年的 Python user 了,強調 Python 用 indentation 來當 block structure 的愚蠢 http://0rz.tw/004d6 笑點來了..我看他的 example 自己 follow 一下: =================================================== thw@usa:~/TB/reference/avium104$ python Python 2.5.2 (r252:60911, Apr 17 2008, 13:15:05) [GCC 4.2.3 (Debian 4.2.3-3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from __future__ import braces File "<stdin>", line 1 SyntaxError: not a chance ==================================================== not a chance... (#‵′) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.129.160.62 ※ 編輯: huggie 來自: 140.129.160.62 (06/04 08:36)

06/04 09:17, , 1F
not a chance? 這是惡搞嗎? @@
06/04 09:17, 1F

06/04 12:04, , 3F
還有 import this 唷..哈
06/04 12:04, 3F

06/04 12:39, , 4F
真的 not a chance 耶 ]
06/04 12:39, 4F

06/04 13:56, , 5F
^^^^^^^^^^^^^^^^^^^^^^ 騙你幹麼? 我昨天就是這個表情
06/04 13:56, 5F

06/04 13:59, , 6F
好笑也是因為 Python 不用 braces 但又很多人建議
06/04 13:59, 6F

06/04 14:01, , 7F
而且真的有__future__ 這個 package. 是有用途的
06/04 14:01, 7F

06/04 20:25, , 8F
我也笑了
06/04 20:25, 8F

06/06 02:30, , 9F
try import __hello__
06/06 02:30, 9F

06/08 11:21, , 10F
hello world :p
06/08 11:21, 10F

06/22 22:38, , 11F
好讚XD
06/22 22:38, 11F
文章代碼(AID): #18HUCH-W (Python)