Bag of ML Words

ML = Machine Learning, Music Love, and Miscellaneous things in daily Livings

2019-03-25から1日間の記事一覧

自分のファイルのパスを取得(python)

current_dir_path = os.path.abspath(os.path.dirname(__file__)) これで、当該実行ファイルの位置を取得できるので libraryのツリー内の好きなファイルを見に行けるぞ