Browse Source

Zwischenstand zweiter Praktikumstag: Erstellung des Moduls + Modulverzeichnis

master
Jonka Winkle 5 years ago
parent
commit
acee1de090

+ 6
- 0
.idea/encodings.xml View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/Aufg2_Starthash.py" charset="ISO-8859-1" />
</component>
</project>

+ 179
- 87
.idea/workspace.xml View File

@@ -1,13 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="39276d0a-00e3-48d0-9c0e-a0d08278b21f" name="Default Changelist" comment="Fertiges PONG-Spiel (Beta-Version zu finden unter &quot;Tag2_EigenesSpiel.py&quot;)">
<change afterPath="$PROJECT_DIR$/.idea/dictionaries/Lenovo.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Aufg3_YingUndYang_Server.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Yang_File.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Ying_File.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" afterDir="false" />
<list default="true" id="39276d0a-00e3-48d0-9c0e-a0d08278b21f" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/.idea/encodings.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Aufg4_Quadratzahlen_Server.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/Aufg2_Starthash.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/Aufg4_VerwendungVonUnittest.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/krypto/__init__.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/krypto/hashes.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/AB4_Aufg1.html" beforeDir="false" afterPath="$PROJECT_DIR$/Python-Blockkurs/AB4_Aufg1.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/AB4_Aufg2.html" beforeDir="false" afterPath="$PROJECT_DIR$/Python-Blockkurs/AB4_Aufg2.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Format_zu_AB5.css" beforeDir="false" afterPath="$PROJECT_DIR$/Python-Blockkurs/Format_zu_AB5.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/HTML_Test_Doc.html" beforeDir="false" afterPath="$PROJECT_DIR$/Python-Blockkurs/HTML_Test_Doc.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/LangesDoc.htm" beforeDir="false" afterPath="$PROJECT_DIR$/Python-Blockkurs/LangesDoc.htm" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Popups_zu_AB6.js" beforeDir="false" afterPath="$PROJECT_DIR$/Python-Blockkurs/Popups_zu_AB6.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/formatiert.css" beforeDir="false" afterPath="$PROJECT_DIR$/Python-Blockkurs/formatiert.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Yang_File.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Ying_File.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/seehofer.png" beforeDir="false" afterPath="$PROJECT_DIR$/Python-Blockkurs/seehofer.png" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
@@ -20,9 +31,12 @@
<SUITE FILE_PATH="coverage/Web__und_Skriptsprachen__Python_Blockkurs_$Pong.coverage" NAME="Pong Coverage Results" MODIFIED="1539414307376" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Web__und_Skriptsprachen__Python_Blockkurs_$Tag2_MittelwertAusVariablerAnzahlParameter.coverage" NAME="Tag2_MittelwertAusVariablerAnzahlParameter Coverage Results" MODIFIED="1538815118408" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Web__und_Skriptsprachen__Python_Blockkurs_$Tag2_EigenesSpiel.coverage" NAME="Tag2_EigenesSpiel Coverage Results" MODIFIED="1538827299769" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Web__und_Skriptsprachen__Python_Blockkurs_$Starthash.coverage" NAME="Starthash Coverage Results" MODIFIED="1540200159750" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/krypto" />
<SUITE FILE_PATH="coverage/Web__und_Skriptsprachen__Python_Blockkurs_$AB1_Aufg5.coverage" NAME="AB1_Aufg5 Coverage Results" MODIFIED="1538811804618" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Web__und_Skriptsprachen__Python_Blockkurs_$Aufg2_Starthash.coverage" NAME="Aufg2_Starthash Coverage Results" MODIFIED="1540200401628" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018" />
<SUITE FILE_PATH="coverage/Web__und_Skriptsprachen__Python_Blockkurs_$FirstProgram.coverage" NAME="FirstProgram Coverage Results" MODIFIED="1538766705533" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
<SUITE FILE_PATH="coverage/Web__und_Skriptsprachen__Python_Blockkurs_$Aufg3_YingUndYang_Server.coverage" NAME="Aufg3_YingUndYang_Server Coverage Results" MODIFIED="1539861830668" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung" />
<SUITE FILE_PATH="coverage/Web__und_Skriptsprachen__Python_Blockkurs_$Aufg4_Quadratzahlen_Server.coverage" NAME="Aufg4_Quadratzahlen_Server Coverage Results" MODIFIED="1539864686187" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018" />
</component>
<component name="DatabaseView">
<option name="SHOW_INTERMEDIATE" value="true" />
@@ -42,38 +56,38 @@
<session id="2005159020">
<usages-collector id="statistics.lifecycle.project">
<counts>
<entry key="project.closed" value="18" />
<entry key="project.closed" value="22" />
<entry key="project.open.time.1" value="1" />
<entry key="project.open.time.10" value="3" />
<entry key="project.open.time.11" value="3" />
<entry key="project.open.time.12" value="2" />
<entry key="project.open.time.13" value="1" />
<entry key="project.open.time.11" value="4" />
<entry key="project.open.time.12" value="3" />
<entry key="project.open.time.13" value="2" />
<entry key="project.open.time.14" value="3" />
<entry key="project.open.time.15" value="1" />
<entry key="project.open.time.15" value="2" />
<entry key="project.open.time.16" value="1" />
<entry key="project.open.time.59" value="1" />
<entry key="project.open.time.8" value="2" />
<entry key="project.open.time.9" value="1" />
<entry key="project.opened" value="19" />
<entry key="project.opened" value="23" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.extensions.open">
<counts>
<entry key="css" value="2" />
<entry key="htm" value="2" />
<entry key="html" value="10" />
<entry key="html" value="12" />
<entry key="js" value="2" />
<entry key="py" value="11" />
<entry key="py" value="22" />
<entry key="txt" value="1" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.types.open">
<counts>
<entry key="CSS" value="2" />
<entry key="HTML" value="12" />
<entry key="HTML" value="14" />
<entry key="JavaScript" value="2" />
<entry key="PLAIN_TEXT" value="1" />
<entry key="Python" value="11" />
<entry key="Python" value="22" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.extensions.edit">
@@ -81,8 +95,8 @@
<entry key="css" value="197" />
<entry key="html" value="925" />
<entry key="js" value="1018" />
<entry key="py" value="8566" />
<entry key="txt" value="126" />
<entry key="py" value="10066" />
<entry key="txt" value="229" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.types.edit">
@@ -90,41 +104,55 @@
<entry key="CSS" value="197" />
<entry key="HTML" value="925" />
<entry key="JavaScript" value="1018" />
<entry key="PLAIN_TEXT" value="126" />
<entry key="Python" value="8566" />
<entry key="PLAIN_TEXT" value="229" />
<entry key="Python" value="10066" />
</counts>
</usages-collector>
</session>
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Aufg3_YingUndYang_Server.py">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/krypto/hashes.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="86">
<caret line="28" column="39" lean-forward="true" selection-start-line="28" selection-start-column="39" selection-end-line="28" selection-end-column="39" />
<state relative-caret-position="221">
<caret line="13" column="21" selection-start-line="13" selection-start-column="21" selection-end-line="13" selection-end-column="21" />
<folding>
<element signature="e#0#18#0" expanded="true" />
<marker date="1539861823498" expanded="true" signature="96:2223" ph="..." />
<marker date="1540201003227" expanded="true" signature="129:134" ph="..." />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Ying_File.html">
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/Aufg4_VerwendungVonUnittest.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="119">
<caret line="7" column="4" selection-start-line="7" selection-start-column="4" selection-end-line="10" selection-end-column="8" />
<state relative-caret-position="34">
<caret line="2" selection-start-line="2" selection-end-line="2" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Aufg4_Quadratzahlen_Server.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="391">
<caret line="24" column="26" selection-start-line="24" selection-start-column="26" selection-end-line="24" selection-end-column="26" />
<folding>
<element signature="e#0#18#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Yang_File.html">
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/Aufg2_Starthash.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="153">
<caret line="9" column="55" selection-start-line="9" selection-start-column="55" selection-end-line="9" selection-end-column="55" />
<state relative-caret-position="102">
<caret line="7" column="19" selection-start-line="7" selection-start-column="19" selection-end-line="7" selection-end-column="19" />
<folding>
<element signature="e#0#10#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
@@ -136,8 +164,8 @@
<list>
<option value="CSS File" />
<option value="JavaScript File" />
<option value="Python Script" />
<option value="HTML File" />
<option value="Python Script" />
</list>
</option>
</component>
@@ -163,6 +191,12 @@
<option value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Ying_File.html" />
<option value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Yang_File.html" />
<option value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Aufg3_YingUndYang_Server.py" />
<option value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Aufg4_Quadratzahlen_Server.py" />
<option value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/krypto/__init__.py" />
<option value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/krypto/Starthash.py" />
<option value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/Aufg2_Starthash.py" />
<option value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/krypto/hashes.py" />
<option value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/Aufg4_VerwendungVonUnittest.py" />
</list>
</option>
</component>
@@ -218,7 +252,6 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<expand>
@@ -231,10 +264,28 @@
<item name="Web- und Skriptsprachen (Python-Blockkurs)" type="462c0819:PsiDirectoryNode" />
<item name="mEIM-Praktikum_Webentwicklung" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="Web- und Skriptsprachen (Python-Blockkurs)" type="b2602c69:ProjectViewProjectNode" />
<item name="Web- und Skriptsprachen (Python-Blockkurs)" type="462c0819:PsiDirectoryNode" />
<item name="mEIM-Praktikum_Webentwicklung" type="462c0819:PsiDirectoryNode" />
<item name="Tag1_15.10.2018" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="Web- und Skriptsprachen (Python-Blockkurs)" type="b2602c69:ProjectViewProjectNode" />
<item name="Web- und Skriptsprachen (Python-Blockkurs)" type="462c0819:PsiDirectoryNode" />
<item name="mEIM-Praktikum_Webentwicklung" type="462c0819:PsiDirectoryNode" />
<item name="Tag2_22.10.2018" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="Web- und Skriptsprachen (Python-Blockkurs)" type="b2602c69:ProjectViewProjectNode" />
<item name="Web- und Skriptsprachen (Python-Blockkurs)" type="462c0819:PsiDirectoryNode" />
<item name="Python-Blockkurs" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
@@ -244,6 +295,12 @@
<property name="list.type.of.created.stylesheet" value="CSS" />
<property name="settings.editor.selected.configurable" value="Errors" />
</component>
<component name="RecentsManager">
<key name="MoveFile.RECENT_KEYS">
<recent name="C:\JONKA\Uni\7. Semester (Medizintechnik OHM Nürnberg)\Vorlesung Informationssysteme in der medizintechnik (MEIM)\Web- und Skriptsprachen (Python-Blockkurs)\Python-Blockkurs" />
<recent name="C:\JONKA\Uni\7. Semester (Medizintechnik OHM Nürnberg)\Vorlesung Informationssysteme in der medizintechnik (MEIM)\Web- und Skriptsprachen (Python-Blockkurs)\mEIM-Praktikum_Webentwicklung\Tag1_15.10.2018" />
</key>
</component>
<component name="RunDashboard">
<option name="ruleStates">
<list>
@@ -256,8 +313,8 @@
</list>
</option>
</component>
<component name="RunManager" selected="Python.Aufg3_YingUndYang_Server">
<configuration name="AB1_Aufg5" type="PythonConfigurationType" factoryName="Python" temporary="true">
<component name="RunManager" selected="Python.Aufg2_Starthash">
<configuration name="Aufg2_Starthash" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="Web- und Skriptsprachen (Python-Blockkurs)" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
@@ -265,12 +322,12 @@
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/AB1_Aufg5.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/Aufg2_Starthash.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
@@ -301,7 +358,7 @@
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
<configuration name="Pong" type="PythonConfigurationType" factoryName="Python" temporary="true">
<configuration name="Aufg4_Quadratzahlen_Server" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="Web- und Skriptsprachen (Python-Blockkurs)" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
@@ -309,12 +366,12 @@
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/Pong.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Aufg4_Quadratzahlen_Server.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
@@ -323,7 +380,7 @@
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
<configuration name="Tag2_EigenesSpiel" type="PythonConfigurationType" factoryName="Python" temporary="true">
<configuration name="Pong" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="Web- und Skriptsprachen (Python-Blockkurs)" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
@@ -336,7 +393,7 @@
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/Tag2_EigenesSpiel.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/Pong.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
@@ -345,7 +402,7 @@
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
<configuration name="Tag2_MittelwertAusVariablerAnzahlParameter" type="PythonConfigurationType" factoryName="Python" temporary="true">
<configuration name="Starthash" type="PythonConfigurationType" factoryName="Python" temporary="true">
<module name="Web- und Skriptsprachen (Python-Blockkurs)" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
@@ -353,12 +410,12 @@
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/krypto" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/Tag2_MittelwertAusVariablerAnzahlParameter.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/krypto/Starthash.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
@@ -368,19 +425,19 @@
<method v="2" />
</configuration>
<list>
<item itemvalue="Python.AB1_Aufg5" />
<item itemvalue="Python.Tag2_MittelwertAusVariablerAnzahlParameter" />
<item itemvalue="Python.Tag2_EigenesSpiel" />
<item itemvalue="Python.Pong" />
<item itemvalue="Python.Aufg3_YingUndYang_Server" />
<item itemvalue="Python.Aufg4_Quadratzahlen_Server" />
<item itemvalue="Python.Aufg2_Starthash" />
<item itemvalue="Python.Starthash" />
</list>
<recent_temporary>
<list>
<item itemvalue="Python.Aufg2_Starthash" />
<item itemvalue="Python.Starthash" />
<item itemvalue="Python.Aufg4_Quadratzahlen_Server" />
<item itemvalue="Python.Aufg3_YingUndYang_Server" />
<item itemvalue="Python.Pong" />
<item itemvalue="Python.Tag2_EigenesSpiel" />
<item itemvalue="Python.Tag2_MittelwertAusVariablerAnzahlParameter" />
<item itemvalue="Python.AB1_Aufg5" />
</list>
</recent_temporary>
</component>
@@ -430,13 +487,21 @@
<option name="project" value="LOCAL" />
<updated>1539677495365</updated>
</task>
<option name="localTasksCounter" value="6" />
<task id="LOCAL-00006" summary="Zwischenstand erster Praktikumstag: Aufgaben 1-3 funktionieren, Aufgabe 4 ist noch zu implementieren">
<created>1539862104249</created>
<option name="number" value="00006" />
<option name="presentableId" value="LOCAL-00006" />
<option name="project" value="LOCAL" />
<updated>1539862104249</updated>
</task>
<option name="localTasksCounter" value="7" />
<servers />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1616" height="876" extended-state="6" />
<editor active="true" />
<layout>
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.23071979" />
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.24357326" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Favorites" order="2" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" />
@@ -455,12 +520,12 @@
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
<window_info anchor="right" auto_hide="true" id="SciView" order="3" show_stripe_button="false" type="FLOATING" weight="0.32969153" />
<window_info anchor="right" id="SciView" order="3" weight="0.32969153" />
<window_info anchor="right" x="0" y="0" width="300" height="620" id="Documentation" order="4" side_tool="true" weight="0.32969153" />
<window_info anchor="right" id="Database" order="5" weight="0.32969153" />
</layout>
<layout-to-restore>
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.22750643" />
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.23071979" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Favorites" order="2" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" />
@@ -471,16 +536,16 @@
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
<window_info anchor="bottom" id="Version Control" order="8" show_stripe_button="false" />
<window_info anchor="bottom" id="Version Control" order="8" weight="0.32974428" />
<window_info anchor="bottom" id="Database Changes" order="9" show_stripe_button="false" />
<window_info anchor="bottom" id="Event Log" order="10" side_tool="true" weight="0.32974428" />
<window_info anchor="bottom" id="Terminal" order="11" weight="0.32896653" />
<window_info anchor="bottom" id="Python Console" order="12" weight="0.32896653" />
<window_info anchor="bottom" id="Python Console" order="12" weight="0.32839838" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
<window_info anchor="right" id="SciView" order="3" weight="0.32969153" />
<window_info anchor="right" x="0" y="0" width="300" height="620" id="Documentation" order="4" side_tool="true" weight="0.32985073" />
<window_info anchor="right" auto_hide="true" id="SciView" order="3" show_stripe_button="false" type="FLOATING" weight="0.32969153" />
<window_info anchor="right" x="0" y="0" width="300" height="620" id="Documentation" order="4" side_tool="true" weight="0.32969153" />
<window_info anchor="right" id="Database" order="5" weight="0.32969153" />
</layout-to-restore>
</component>
@@ -494,7 +559,8 @@
<MESSAGE value="Initialization" />
<MESSAGE value="Das ist ein Commit-Test für Janko" />
<MESSAGE value="Fertiges PONG-Spiel (Beta-Version zu finden unter &quot;Tag2_EigenesSpiel.py&quot;)" />
<option name="LAST_COMMIT_MESSAGE" value="Fertiges PONG-Spiel (Beta-Version zu finden unter &quot;Tag2_EigenesSpiel.py&quot;)" />
<MESSAGE value="Zwischenstand erster Praktikumstag: Aufgaben 1-3 funktionieren, Aufgabe 4 ist noch zu implementieren" />
<option name="LAST_COMMIT_MESSAGE" value="Zwischenstand erster Praktikumstag: Aufgaben 1-3 funktionieren, Aufgabe 4 ist noch zu implementieren" />
</component>
<component name="XDebuggerManager">
<watches-manager>
@@ -556,14 +622,14 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/formatiert.css">
<entry file="file://$PROJECT_DIR$/Python-Blockkurs/formatiert.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="17">
<caret line="1" column="15" selection-start-line="1" selection-start-column="15" selection-end-line="1" selection-end-column="15" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Format_zu_AB5.css">
<entry file="file://$PROJECT_DIR$/Python-Blockkurs/Format_zu_AB5.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="561">
<caret line="33" column="22" selection-start-line="33" selection-start-column="22" selection-end-line="33" selection-end-column="22" />
@@ -572,69 +638,95 @@
</entry>
<entry file="file://$PROJECT_DIR$/Tag2_EigenesSpiel.py" />
<entry file="file://$PROJECT_DIR$/Pong.py" />
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Aufg2_Sockets_Server.py">
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Aufg2_Sockets_Server.py">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Aufg2_Sockets_Client.py">
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Aufg2_Sockets_Client.py">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/Popups_zu_AB6.js">
<entry file="file://$PROJECT_DIR$/Python-Blockkurs/Popups_zu_AB6.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="136">
<caret line="8" column="33" selection-start-line="8" selection-start-column="33" selection-end-line="8" selection-end-column="33" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/AB4_Aufg1.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="371">
<caret line="33" column="7" selection-start-line="33" selection-start-column="7" selection-end-line="33" selection-end-column="7" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/HTML_Test_Doc.html">
<entry file="file://$PROJECT_DIR$/Python-Blockkurs/HTML_Test_Doc.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="85">
<caret line="5" column="49" selection-start-line="5" selection-start-column="49" selection-end-line="5" selection-end-column="49" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/LangesDoc.htm">
<entry file="file://$PROJECT_DIR$/Python-Blockkurs/LangesDoc.htm">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="68">
<caret line="4" column="32" lean-forward="true" selection-start-line="4" selection-start-column="32" selection-end-line="4" selection-end-column="107" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/AB4_Aufg2.html">
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Ying_File.html" />
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Yang_File.html" />
<entry file="file://$PROJECT_DIR$/Python-Blockkurs/AB4_Aufg2.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="255">
<caret line="15" column="8" selection-start-line="15" selection-start-column="8" selection-end-line="15" selection-end-column="8" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Aufg3_YingUndYang_Server.py">
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Aufg3_YingUndYang_Server.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="661">
<caret line="51" selection-start-line="51" selection-end-line="56" selection-end-column="24" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Python-Blockkurs/AB4_Aufg1.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="561">
<caret line="33" column="7" selection-start-line="33" selection-start-column="7" selection-end-line="33" selection-end-column="7" />
</state>
</provider>
</entry>
<entry file="file://$USER_HOME$/AppData/Local/Temp/Temp1_Uebungs-Dateien.zip/Dateien/Uebung/temperature.py" />
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/krypto/__init__.py">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/krypto/Starthash.py" />
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/krypto/hashes.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="86">
<caret line="28" column="39" lean-forward="true" selection-start-line="28" selection-start-column="39" selection-end-line="28" selection-end-column="39" />
<state relative-caret-position="221">
<caret line="13" column="21" selection-start-line="13" selection-start-column="21" selection-end-line="13" selection-end-column="21" />
<folding>
<element signature="e#0#18#0" expanded="true" />
<marker date="1539861823498" expanded="true" signature="96:2223" ph="..." />
<marker date="1540201003227" expanded="true" signature="129:134" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Ying_File.html">
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/Aufg2_Starthash.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="119">
<caret line="7" column="4" selection-start-line="7" selection-start-column="4" selection-end-line="10" selection-end-column="8" />
<state relative-caret-position="102">
<caret line="7" column="19" selection-start-line="7" selection-start-column="19" selection-end-line="7" selection-end-column="19" />
<folding>
<element signature="e#0#10#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Yang_File.html">
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/Aufg4_VerwendungVonUnittest.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="153">
<caret line="9" column="55" selection-start-line="9" selection-start-column="55" selection-end-line="9" selection-end-column="55" />
<state relative-caret-position="34">
<caret line="2" selection-start-line="2" selection-end-line="2" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Aufg4_Quadratzahlen_Server.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="391">
<caret line="24" column="26" selection-start-line="24" selection-start-column="26" selection-end-line="24" selection-end-column="26" />
<folding>
<element signature="e#0#18#0" expanded="true" />
</folding>
</state>
</provider>
</entry>

AB4_Aufg1.html → Python-Blockkurs/AB4_Aufg1.html View File


AB4_Aufg2.html → Python-Blockkurs/AB4_Aufg2.html View File


Format_zu_AB5.css → Python-Blockkurs/Format_zu_AB5.css View File


HTML_Test_Doc.html → Python-Blockkurs/HTML_Test_Doc.html View File


LangesDoc.htm → Python-Blockkurs/LangesDoc.htm View File


Popups_zu_AB6.js → Python-Blockkurs/Popups_zu_AB6.js View File


formatiert.css → Python-Blockkurs/formatiert.css View File


seehofer.png → Python-Blockkurs/seehofer.png View File


+ 47
- 0
mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Aufg4_Quadratzahlen_Server.py View File

@@ -0,0 +1,47 @@
import http.server
import urllib.parse

class MyOwnHandler(http.server.BaseHTTPRequestHandler):

def do_GET(self):
self.send_response(200)
self.end_headers()
parsed = urllib.parse.urlparse(self.path)

path = parsed.path
query = parsed.query
query_components = urllib.parse.parse_qsl(query)

# query_components has form: [ ('von_param','???') , ('bis_param','???') ]

print("Die Query lautet: ", query_components)

if query_components != "[]":
von_param = int(query_components[0][1])
bis_param = int(query_components[1][1])

values = []

for curr_number in range(von_param, bis_param +1):
values.append((curr_number, curr_number**2),)

msg_to_return = "<html><head><title>Wertetabelle_mit_Quadratzahlen</title></head>"
msg_to_return += "<body><table>Quadrat_Tabelle"
msg_to_return += "<tr><th>QUADRATZAHLEN</th></tr>"

for all_tuples in values:
msg_to_return += f"<tr><td>{all_tuples[0]}</td><td>{all_tuples[1]}</td></tr>"

msg_to_return += "</table></body>"

self.wfile.write(msg_to_return.encode("utf-8"))
else:
pass


port = 33444
handler = MyOwnHandler
address = ('', port)

myserver = http.server.HTTPServer(address, handler)
myserver.serve_forever()

+ 0
- 13
mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Yang_File.html View File

@@ -1,13 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Yang_File</title>
</head>
<body>
<p>
Sie sind auf der Yang-Page :P
<a href="http://localhost:22233/ying"> Gehe zur Ying-Seite</a>
</p>
</body>
</html>

+ 0
- 14
mEIM-Praktikum_Webentwicklung/Tag1_15.10.2018/Ying_File.html View File

@@ -1,14 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Ying_File</title>
</head>
<body>
<p>
Sie sind auf der Ying-Page :-)
<a href="http://localhost:22233/yang"> Gehe zu Yang-Page</a>
</p>

</body>
</html>

+ 11
- 0
mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/Aufg2_Starthash.py View File

@@ -0,0 +1,11 @@
import sys
from krypto import hashes

myString = bytearray("Hello", encoding='utf-8')

hashwert = hashes.hashMod(myString)

print("Der Hashwert lautet: ", hashwert)




+ 2
- 0
mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/Aufg4_VerwendungVonUnittest.py View File

@@ -0,0 +1,2 @@
import unittest


+ 0
- 0
mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/krypto/__init__.py View File


+ 14
- 0
mEIM-Praktikum_Webentwicklung/Tag2_22.10.2018/krypto/hashes.py View File

@@ -0,0 +1,14 @@
import sys

""" Modul zur Erzeugung eines Hashwerts für Strings, die als Bytefolgen interpretiert werden """

def hashMod(bytes):
result = 0
for byte in bytes:
result += byte
return result % sys.maxsize

if __name__ != "__main__":
myByteArray = bytearray("Schokopraline", encoding='utf-8')
hashvalue = hashMod(myByteArray)
print("Ohne importierten Aufruf lautet der Hashwert zu 'Schokopraline': ", hashvalue)

Loading…
Cancel
Save