タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

Pythonとstackoverflowに関するU1and0のブックマーク (1)

  • PYTHONPATHとは

    PYTHONPATH とはなにか,とその設定方法について Python の Documentation » Python Setup and Usageより: Augment the default search path for module files. The format is the same as the shell’s PATH: one or more directory pathnames separated by os.pathsep (e.g. colons on Unix or semicolons on Windows). Non-existent directories are silently ignored.(中略)The default search path is installation dependent, but generally begins

    PYTHONPATHとは
    U1and0
    U1and0 2016/10/23
    Pythonが import 文で利用するモジュールを探す際のパスです。 以下のコードで、起動時にデフォルト設定されているパスが確認できます。 $ python >>> import sys >>> print(sys.path) 環境変数PYTHONPATHを設定すると、この値に追加されま
  • 1