https://github.com/samshadwell/TrumpScript
Our language includes several convenient features, perfect for any aspiring Presidential candidate including:
True and False, we have the keywords fact and lie.America is great.如何评价 python 开发者的创造力?
1
guyskk 2016 年 11 月 11 日
"Detected commie network, aborting."
 -> None: + """ + Make sure we aren't running on commie Chinese networks. + """ + freedom_host = "facebook.com" + commie_host = "alibaba.cn" + is_on_a_network = os.system("ping -c 1 {}".format(commie_host)) == 0 + is_commie_network = os.system("ping -c 1 {}".format(freedom_host)) != 0 + if is_on_a_network and is_commie_network: + raise Utils.SystemException("Detected commie network, aborting.") ``` 是这样判断的 |
4
guyskk 2016 年 11 月 11 日
@ryanzyy 汗。。我刚还上 vps 去运行。
改了下源码能正常运行了。看了一下 issue 里面的内容,没看懂这个幽默, Get 不到笑点。。。可以帮忙解释一下吗? |
5
ethanlu 2016 年 11 月 11 日
哈哈,有意思。
|
6
lhbc 2016 年 11 月 11 日 via iPhone
这代码政治非常不正确。
|
7
iyeatse 2016 年 11 月 11 日 via iPhone |