Python キーワード
datetime モジュールをインポートして現在の日付と時間を表示します:
import datetime x = datetime.datetime.now() print(x)
実行例
import キーワードはモジュールのインポートに使用されます。
from キーワード
as キーワード
私たちの Python モジュール モジュールに関する知識を学ぶために教材を参照してください。