Skip to content
Snippets Groups Projects
Select Git revision
  • 0e0c67eac350efc35545281f66d61d31160952c4
  • main default protected
  • renovate/lock-file-maintenance
  • demo protected
  • person-select-custom
  • dbp-translation-component
  • icon-set-mapping
  • port-i18next-parser
  • remove-sentry
  • favorites-and-recent-files
  • revert-6c632dc6
  • lit2
  • advertisement
  • wc-part
  • automagic
  • publish
  • wip-cleanup
  • demo-file-handling
18 results

dbp-file-source.js

Blame
  • main.py 1.61 KiB
    # Copyright (c) 2023 Daniel Dohr, Josef Wachtler
    #
    # Permission is hereby granted, free of charge, to any person obtaining a copy
    # of this software and associated documentation files (the "Software"), to deal
    # in the Software without restriction, including without limitation the rights
    # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    # copies of the Software, and to permit persons to whom the Software is
    # furnished to do so, subject to the following conditions:
    #
    # The above copyright notice and this permission notice shall be included in all
    # copies or substantial portions of the Software.
    #
    # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    # SOFTWARE.
    
    
    # Hier werden die Packages importiert die unsere Beispiele beinhalten
    from Lektion2.RunLecture2 import run_lecture_two
    from Lektion3.RunLecture3 import run_lecture_three
    from Lektion4.RunLecture4 import run_lecture_four
    
    # Wenn wir unser Script starten wird der Code von allen 3 Lektionen ausgeführt und ausgegeben.
    # Wenn nur der Code von einer Lektion ausgegeben werden soll, die anderen einfach auskommentieren.
    if __name__ == '__main__':
        run_lecture_two()
        run_lecture_three()
        run_lecture_four()