Commit c46254ac authored by lixiaofang's avatar lixiaofang

add

parent fa7d4e87
...@@ -41,14 +41,14 @@ ...@@ -41,14 +41,14 @@
<entry key="comment" value="59" /> <entry key="comment" value="59" />
<entry key="dummy" value="7" /> <entry key="dummy" value="7" />
<entry key="guanshui" value="2" /> <entry key="guanshui" value="2" />
<entry key="py" value="7301" /> <entry key="py" value="7315" />
<entry key="xuqiu" value="223" /> <entry key="xuqiu" value="223" />
</counts> </counts>
</usages-collector> </usages-collector>
<usages-collector id="statistics.file.types.edit"> <usages-collector id="statistics.file.types.edit">
<counts> <counts>
<entry key="PLAIN_TEXT" value="291" /> <entry key="PLAIN_TEXT" value="291" />
<entry key="Python" value="7301" /> <entry key="Python" value="7315" />
</counts> </counts>
</usages-collector> </usages-collector>
</session> </session>
...@@ -128,13 +128,14 @@ ...@@ -128,13 +128,14 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_click1.py"> <entry file="file://$PROJECT_DIR$/auto_click1.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="89"> <state relative-caret-position="177">
<caret line="6" column="42" lean-forward="true" selection-start-line="6" selection-start-column="42" selection-end-line="6" selection-end-column="42" /> <caret line="48" column="73" selection-start-line="48" selection-start-column="73" selection-end-line="48" selection-end-column="73" />
<folding> <folding>
<marker date="1556187039000" expanded="true" signature="1195:1318" ph="..." /> <element signature="e#0#11#0" expanded="true" />
<marker date="1556187920000" expanded="true" signature="1195:1379" ph="..." />
</folding> </folding>
</state> </state>
</provider> </provider>
...@@ -143,8 +144,8 @@ ...@@ -143,8 +144,8 @@
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/auto_click2.py"> <entry file="file://$PROJECT_DIR$/auto_click2.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="247"> <state relative-caret-position="318">
<caret line="20" column="23" selection-start-line="20" selection-start-column="23" selection-end-line="20" selection-end-column="23" /> <caret line="24" column="17" selection-start-line="24" selection-start-column="17" selection-end-line="24" selection-end-column="17" />
<folding> <folding>
<element signature="e#0#11#0" expanded="true" /> <element signature="e#0#11#0" expanded="true" />
</folding> </folding>
...@@ -152,11 +153,11 @@ ...@@ -152,11 +153,11 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/auto_click3.py"> <entry file="file://$PROJECT_DIR$/auto_click3.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="285"> <state relative-caret-position="142">
<caret line="19" selection-start-line="19" selection-end-line="19" /> <caret line="19" column="73" selection-start-line="19" selection-start-column="73" selection-end-line="19" selection-end-column="73" />
<folding> <folding>
<element signature="e#0#11#0" expanded="true" /> <element signature="e#0#11#0" expanded="true" />
</folding> </folding>
...@@ -306,8 +307,8 @@ ...@@ -306,8 +307,8 @@
<option value="$PROJECT_DIR$/auto_request.py" /> <option value="$PROJECT_DIR$/auto_request.py" />
<option value="$PROJECT_DIR$/auto_click.py" /> <option value="$PROJECT_DIR$/auto_click.py" />
<option value="$PROJECT_DIR$/auto_click1.py" /> <option value="$PROJECT_DIR$/auto_click1.py" />
<option value="$PROJECT_DIR$/auto_click3.py" />
<option value="$PROJECT_DIR$/auto_click2.py" /> <option value="$PROJECT_DIR$/auto_click2.py" />
<option value="$PROJECT_DIR$/auto_click3.py" />
</list> </list>
</option> </option>
</component> </component>
...@@ -525,7 +526,6 @@ ...@@ -525,7 +526,6 @@
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="0" y="23" width="1280" height="724" extended-state="0" /> <frame x="0" y="23" width="1280" height="724" extended-state="0" />
<editor active="true" />
<layout> <layout>
<window_info id="Structure" order="0" sideWeight="0.21188119" side_tool="true" weight="0.19112115" /> <window_info id="Structure" order="0" sideWeight="0.21188119" side_tool="true" weight="0.19112115" />
<window_info id="Favorites" order="1" side_tool="true" /> <window_info id="Favorites" order="1" side_tool="true" />
...@@ -539,7 +539,7 @@ ...@@ -539,7 +539,7 @@
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" /> <window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" /> <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
<window_info active="true" anchor="bottom" id="Terminal" order="8" visible="true" weight="0.0" /> <window_info active="true" anchor="bottom" id="Terminal" order="8" visible="true" weight="0.29228243" />
<window_info anchor="bottom" id="Event Log" order="9" side_tool="true" /> <window_info anchor="bottom" id="Event Log" order="9" side_tool="true" />
<window_info anchor="bottom" id="Python Console" order="10" /> <window_info anchor="bottom" id="Python Console" order="10" />
<window_info anchor="bottom" id="DB Execution Console" order="11" /> <window_info anchor="bottom" id="DB Execution Console" order="11" />
...@@ -818,42 +818,43 @@ ...@@ -818,42 +818,43 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_click3.py"> <entry file="file://$PROJECT_DIR$/auto_request.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="285"> <state relative-caret-position="194">
<caret line="19" selection-start-line="19" selection-end-line="19" /> <caret line="147" column="4" selection-start-line="147" selection-start-column="4" selection-end-line="147" selection-end-column="4" />
<folding> <folding>
<element signature="e#0#11#0" expanded="true" /> <element signature="e#0#15#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_click2.py"> <entry file="file://$PROJECT_DIR$/auto_click1.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="247"> <state relative-caret-position="177">
<caret line="20" column="23" selection-start-line="20" selection-start-column="23" selection-end-line="20" selection-end-column="23" /> <caret line="48" column="73" selection-start-line="48" selection-start-column="73" selection-end-line="48" selection-end-column="73" />
<folding> <folding>
<element signature="e#0#11#0" expanded="true" /> <element signature="e#0#11#0" expanded="true" />
<marker date="1556187920000" expanded="true" signature="1195:1379" ph="..." />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_request.py"> <entry file="file://$PROJECT_DIR$/auto_click2.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="194"> <state relative-caret-position="318">
<caret line="147" column="4" selection-start-line="147" selection-start-column="4" selection-end-line="147" selection-end-column="4" /> <caret line="24" column="17" selection-start-line="24" selection-start-column="17" selection-end-line="24" selection-end-column="17" />
<folding> <folding>
<element signature="e#0#15#0" expanded="true" /> <element signature="e#0#11#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/auto_click1.py"> <entry file="file://$PROJECT_DIR$/auto_click3.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="89"> <state relative-caret-position="142">
<caret line="6" column="42" lean-forward="true" selection-start-line="6" selection-start-column="42" selection-end-line="6" selection-end-column="42" /> <caret line="19" column="73" selection-start-line="19" selection-start-column="73" selection-end-line="19" selection-end-column="73" />
<folding> <folding>
<marker date="1556187039000" expanded="true" signature="1195:1318" ph="..." /> <element signature="e#0#11#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
......
...@@ -42,7 +42,7 @@ def write_id_file(id): ...@@ -42,7 +42,7 @@ def write_id_file(id):
try: try:
data = open("save_topic_id.txt", "w") data = open("save_topic_id.txt", "w")
data.write(id) data.write(str(id))
data.write("/n") data.write("/n")
except: except:
......
...@@ -14,9 +14,9 @@ def write_id_file(): ...@@ -14,9 +14,9 @@ def write_id_file():
data = open("save_topic_id.txt", "r") data = open("save_topic_id.txt", "r")
data2 = open("save_topic_id_three.txt", "w") data2 = open("save_topic_id_three.txt", "w")
for i in data.readlines(): for i in data.readlines():
data2.write(i) data2.write(str(i))
data2.write("\n") data2.write("\n")
user_ids.append(i) user_ids.append(int(i))
data.truncate() data.truncate()
return user_ids return user_ids
except: except:
......
...@@ -13,7 +13,7 @@ def write_id_file(): ...@@ -13,7 +13,7 @@ def write_id_file():
user_ids = [] user_ids = []
data = open("save_topic_id_three.txt", "r") data = open("save_topic_id_three.txt", "r")
for i in data.readlines(): for i in data.readlines():
user_ids.append(i) user_ids.append(int(i))
data.truncate() data.truncate()
return user_ids return user_ids
except: except:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment