-1
x = difference.total_seconds
if difference < timedelta(minutes=60):
minutes = int(x/60) % 60
return "%i minutes ago" % minutes
爲什麼我有Python的 - 不支持的操作類型爲/:「builtin_function_or_method」和「廉政」
不支持的操作類型爲/:「builtin_function_or_method」和 「廉政」
我該如何解決?
例如,_this_是一個很好的例子,因爲您不僅修復了錯字,還解釋了爲什麼它不起作用並鏈接到文檔。 +1 – georg