# Python CodeRecipe|importの使い方

Home Python Keywords

# importの例1

Import the datetime module and display the current date 
  and time:

    import datetimex = datetime.datetime.now()print(x)

# importの定義及び使い方

import関数は、インポートに使用されます。 モジュール。

Related Pages The from keyword. The as keyword. Read more about modules in our Python Modules Tutorial.

Home Python Keywords