2013-10-17 49 views

回答

6

total_secondsa method,所以你應該把它叫做:

x = difference.total_seconds() 
+0

例如,_this_是一個很好的例子,因爲您不僅修復了錯字,還解釋了爲什麼它不起作用並鏈接到文檔。 +1 – georg

1

你difference.total_seconds是builtin_function_or_method。您可以嘗試:

x = difference.total_seconds() 
相關問題