• Aufmerksamkeitslogistik    >   >   "Informationstechnik      >   Python   .

    • ---
      • https://docs.python.org/3.5/index.html
      • https://de.wikipedia.org/wiki/Python_(Programmiersprache)
      • http://www.thomas-guettler.de/vortraege/python/einfuehrung.html#link_18
      • https://opentechschool.github.io/python-beginners/de/getting_started.html
      • http://www.python-kurs.eu
    • c>
      • 1701 Python 3 aus Linux-Konsole starten: python3  (= Verknüpfung mit Python 3.5)
      • 1701 - Editing PYTHONPATH

        Python won't just search your computer for the MyModule.py file you're trying to import. You have to tell it explicitly each time where to get it. The PYTHONPATH is a list of directories for your computer to check whenever you type import MyModule into the interpreter.

        To add a path, launch ipython and type:

        import sys
        sys.path.append("path/to/Modules")
        print sys.path

        Note: You only have to update your PYTHONPATH once, not every time you use Python!
      • 1701 - Windows-Umgebungsvariable setzen (= Voraussetzung, um ein Python-Skript von der Windows-Eingabeaufforderung zu starten)
        • Windows-Eingabeaufforderung:
          • C:\Users\cbertram>
            • set path=C:\Users\cbertram\AppData\Local\Programs\Python\Python35-32;%PATH%
            • set PYTHONPATH=%PYTHONPATH%; C:\Users\cbertram\AppData\Local\Programs\Python\Python35-32\Lib
        • z> Windows allows environment variables to be configured permanently at both the User level and the System level, or temporarily in a command prompt.

          To temporarily set environment variables, open Command Prompt and use the set command:

          C:\>set PATH=C:\Program Files\Python 3.5;%PATH%
          C:\>set PYTHONPATH=%PYTHONPATH%;C:\My_python_lib
          C:\>python
      • 161221 - IDE starten über win explorer:
        "../../../../AppData/Local/Programs/Python/Python35-32/Lib/idlelib/idle.py
      •    .
    •    .