2023-03-14から1日間の記事一覧
パッケージを作成 my_package の中の utils.py (v3.3以降は__init__.pyは必須でない) def sample1_func(): print("this is sample 1 func") def sample2_func(): print("this is sample 2 func") パッケージのインポート フルパスでパッケージ名を明示する…
パッケージを作成 my_package の中の utils.py (v3.3以降は__init__.pyは必須でない) def sample1_func(): print("this is sample 1 func") def sample2_func(): print("this is sample 2 func") パッケージのインポート フルパスでパッケージ名を明示する…