Permalink
Browse files

๐Ÿ˜ƒ fuck u

  • Loading branch information...
1 parent 868ddf6 commit 36a63482b1fbd1c1b3b9d545867eb6fb2a46f1ec @zeewane committed Feb 16, 2017
Showing with 69 additions and 45 deletions.
  1. +62 โˆ’45 Python/PyCharm/.idea/workspace.xml
  2. +7 โˆ’0 Python/PyCharm/web/dump.py
@@ -23,7 +23,7 @@
<SUITE FILE_PATH="coverage/PyCharm$demo4.coverage" NAME="demo4 Coverage Results" MODIFIED="1478757255646" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/function" />
<SUITE FILE_PATH="coverage/PyCharm$demo10.coverage" NAME="demo10 Coverage Results" MODIFIED="1478748673198" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/boolean" />
<SUITE FILE_PATH="coverage/PyCharm$db.coverage" NAME="db Coverage Results" MODIFIED="1478749099286" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/web" />
- <SUITE FILE_PATH="coverage/PyCharm$testCoverage.coverage" NAME="testCoverage Coverage Results" MODIFIED="1484708672673" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/web" />
+ <SUITE FILE_PATH="coverage/PyCharm$testCoverage.coverage" NAME="testCoverage Coverage Results" MODIFIED="1487223471374" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/web" />
<SUITE FILE_PATH="coverage/PyCharm$demo7.coverage" NAME="demo7 Coverage Results" MODIFIED="1478744644716" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/boolean" />
<SUITE FILE_PATH="coverage/PyCharm$demo3.coverage" NAME="demo3 Coverage Results" MODIFIED="1478756136357" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/function" />
<SUITE FILE_PATH="coverage/PyCharm$demo1.coverage" NAME="demo1 Coverage Results" MODIFIED="1484532957469" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/request" />
@@ -32,6 +32,7 @@
<SUITE FILE_PATH="coverage/PyCharm$demo6.coverage" NAME="demo6 Coverage Results" MODIFIED="1478748435305" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/boolean" />
<SUITE FILE_PATH="coverage/PyCharm$jsxy.coverage" NAME="jsxy Coverage Results" MODIFIED="1483926138799" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/web" />
<SUITE FILE_PATH="coverage/PyCharm$readFile.coverage" NAME="readFile Coverage Results" MODIFIED="1480642321850" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/file" />
+ <SUITE FILE_PATH="coverage/PyCharm$dump.coverage" NAME="dump Coverage Results" MODIFIED="1487223509320" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/web" />
<SUITE FILE_PATH="coverage/PyCharm$demo2.coverage" NAME="demo2 Coverage Results" MODIFIED="1478755924755" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/function" />
</component>
<component name="CreatePatchCommitExecutor">
@@ -56,27 +57,39 @@
<file leaf-file-name="testCoverage.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/web/testCoverage.py">
<provider selected="true" editor-type-id="text-editor">
- <state relative-caret-position="168">
- <caret line="7" column="0" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
+ <state relative-caret-position="0">
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="6" selection-end-column="23" />
<folding>
<element signature="e#16#31#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
- <file leaf-file-name="hupu.py" pinned="false" current-in-tab="true">
+ <file leaf-file-name="hupu.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/web/hupu.py">
<provider selected="true" editor-type-id="text-editor">
- <state relative-caret-position="216">
- <caret line="9" column="43" selection-start-line="9" selection-start-column="43" selection-end-line="9" selection-end-column="43" />
+ <state relative-caret-position="0">
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="20" selection-end-column="15" />
<folding>
<element signature="e#15#30#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
+ <file leaf-file-name="dump.py" pinned="false" current-in-tab="true">
+ <entry file="file://$PROJECT_DIR$/web/dump.py">
+ <provider selected="true" editor-type-id="text-editor">
+ <state relative-caret-position="96">
+ <caret line="4" column="38" selection-start-line="4" selection-start-column="38" selection-end-line="4" selection-end-column="38" />
+ <folding>
+ <element signature="e#16#31#0" expanded="true" />
+ </folding>
+ </state>
+ </provider>
+ </entry>
+ </file>
</leaf>
</component>
<component name="FileTemplateManagerImpl">
@@ -115,6 +128,7 @@
<option value="$PROJECT_DIR$/request/demo1.py" />
<option value="$PROJECT_DIR$/web/hupu.py" />
<option value="$PROJECT_DIR$/web/testCoverage.py" />
+ <option value="$PROJECT_DIR$/web/dump.py" />
</list>
</option>
</component>
@@ -127,7 +141,7 @@
<component name="ProjectFrameBounds">
<option name="x" value="-9" />
<option name="y" value="-9" />
- <option name="width" value="1938" />
+ <option name="width" value="1932" />
<option name="height" value="1048" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
@@ -217,8 +231,8 @@
</PATH>
</subPane>
</pane>
- <pane id="Scratches" />
<pane id="Scope" />
+ <pane id="Scratches" />
</panes>
</component>
<component name="PropertiesComponent">
@@ -232,7 +246,7 @@
<recent name="E:\code\GitHub\exercise\Python\PyCharm\csvread" />
</key>
</component>
- <component name="RunManager" selected="Python.hupu">
+ <component name="RunManager" selected="Python.dump">
<configuration default="false" name="hupu" type="PythonConfigurationType" factoryName="Python" temporary="true">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
@@ -251,61 +265,61 @@
<option name="SHOW_COMMAND_LINE" value="false" />
<method />
</configuration>
- <configuration default="false" name="zucc" type="PythonConfigurationType" factoryName="Python" temporary="true">
+ <configuration default="false" name="readDemo" type="PythonConfigurationType" factoryName="Python" temporary="true">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/web" />
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/csvread" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<module name="PyCharm" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="coverage.py" />
- <option name="SCRIPT_NAME" value="$PROJECT_DIR$/web/zucc.py" />
+ <option name="SCRIPT_NAME" value="$PROJECT_DIR$/csvread/readDemo.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<method />
</configuration>
- <configuration default="false" name="readDemo" type="PythonConfigurationType" factoryName="Python" temporary="true">
+ <configuration default="false" name="demo1" type="PythonConfigurationType" factoryName="Python" temporary="true">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/csvread" />
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/request" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<module name="PyCharm" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="coverage.py" />
- <option name="SCRIPT_NAME" value="$PROJECT_DIR$/csvread/readDemo.py" />
+ <option name="SCRIPT_NAME" value="$PROJECT_DIR$/request/demo1.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<method />
</configuration>
- <configuration default="false" name="demo1" type="PythonConfigurationType" factoryName="Python" temporary="true">
+ <configuration default="false" name="testCoverage" type="PythonConfigurationType" factoryName="Python" temporary="true">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/request" />
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/web" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<module name="PyCharm" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="coverage.py" />
- <option name="SCRIPT_NAME" value="$PROJECT_DIR$/request/demo1.py" />
+ <option name="SCRIPT_NAME" value="$PROJECT_DIR$/web/testCoverage.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<method />
</configuration>
- <configuration default="false" name="testCoverage" type="PythonConfigurationType" factoryName="Python" temporary="true">
+ <configuration default="false" name="dump" type="PythonConfigurationType" factoryName="Python" temporary="true">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
@@ -318,7 +332,7 @@
<option name="ADD_SOURCE_ROOTS" value="true" />
<module name="PyCharm" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="coverage.py" />
- <option name="SCRIPT_NAME" value="$PROJECT_DIR$/web/testCoverage.py" />
+ <option name="SCRIPT_NAME" value="$PROJECT_DIR$/web/dump.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<method />
@@ -533,18 +547,18 @@
</configuration>
<list size="5">
<item index="0" class="java.lang.String" itemvalue="Python.hupu" />
- <item index="1" class="java.lang.String" itemvalue="Python.zucc" />
- <item index="2" class="java.lang.String" itemvalue="Python.readDemo" />
- <item index="3" class="java.lang.String" itemvalue="Python.demo1" />
- <item index="4" class="java.lang.String" itemvalue="Python.testCoverage" />
+ <item index="1" class="java.lang.String" itemvalue="Python.readDemo" />
+ <item index="2" class="java.lang.String" itemvalue="Python.demo1" />
+ <item index="3" class="java.lang.String" itemvalue="Python.testCoverage" />
+ <item index="4" class="java.lang.String" itemvalue="Python.dump" />
</list>
<recent_temporary>
<list size="5">
- <item index="0" class="java.lang.String" itemvalue="Python.hupu" />
+ <item index="0" class="java.lang.String" itemvalue="Python.dump" />
<item index="1" class="java.lang.String" itemvalue="Python.testCoverage" />
- <item index="2" class="java.lang.String" itemvalue="Python.demo1" />
- <item index="3" class="java.lang.String" itemvalue="Python.readDemo" />
- <item index="4" class="java.lang.String" itemvalue="Python.zucc" />
+ <item index="2" class="java.lang.String" itemvalue="Python.hupu" />
+ <item index="3" class="java.lang.String" itemvalue="Python.demo1" />
+ <item index="4" class="java.lang.String" itemvalue="Python.readDemo" />
</list>
</recent_temporary>
</component>
@@ -565,16 +579,16 @@
<servers />
</component>
<component name="ToolWindowManager">
- <frame x="-9" y="-9" width="1938" height="1048" extended-state="7" />
- <editor active="false" />
+ <frame x="-9" y="-9" width="1932" height="1048" extended-state="0" />
+ <editor active="true" />
<layout>
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.19399786" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.1967742" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Python Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25846502" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25846502" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
@@ -633,13 +647,6 @@
<watches-manager />
</component>
<component name="editorHistoryManager">
- <entry file="file://$PROJECT_DIR$/function/demo4.py">
- <provider selected="true" editor-type-id="text-editor">
- <state relative-caret-position="432">
- <caret line="18" column="19" selection-start-line="18" selection-start-column="19" selection-end-line="18" selection-end-column="19" />
- </state>
- </provider>
- </entry>
<entry file="file://$PROJECT_DIR$/function/demo5.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="168">
@@ -971,22 +978,32 @@
</state>
</provider>
</entry>
+ <entry file="file://$PROJECT_DIR$/web/hupu.py">
+ <provider selected="true" editor-type-id="text-editor">
+ <state relative-caret-position="0">
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="20" selection-end-column="15" />
+ <folding>
+ <element signature="e#15#30#0" expanded="true" />
+ </folding>
+ </state>
+ </provider>
+ </entry>
<entry file="file://$PROJECT_DIR$/web/testCoverage.py">
<provider selected="true" editor-type-id="text-editor">
- <state relative-caret-position="168">
- <caret line="7" column="0" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
+ <state relative-caret-position="0">
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="6" selection-end-column="23" />
<folding>
<element signature="e#16#31#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/web/hupu.py">
+ <entry file="file://$PROJECT_DIR$/web/dump.py">
<provider selected="true" editor-type-id="text-editor">
- <state relative-caret-position="216">
- <caret line="9" column="43" selection-start-line="9" selection-start-column="43" selection-end-line="9" selection-end-column="43" />
+ <state relative-caret-position="96">
+ <caret line="4" column="38" selection-start-line="4" selection-start-column="38" selection-end-line="4" selection-end-column="38" />
<folding>
- <element signature="e#15#30#0" expanded="true" />
+ <element signature="e#16#31#0" expanded="true" />
</folding>
</state>
</provider>
@@ -0,0 +1,7 @@
+# coding:utf-8
+
+import requests
+from bs4 import BeautifulSoup
+url = "http://127.0.0.1:8080/dump-test/userList.htm"
+response = requests.get(url)
+print(response.content)

0 comments on commit 36a6348

Please sign in to comment.