Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cybertron
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpha
cybertron
Commits
fecd87b1
Commit
fecd87b1
authored
Dec 08, 2018
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
try except
parent
c4d39acd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
293 additions
and
239 deletions
+293
-239
workspace.xml
.idea/workspace.xml
+270
-232
auto_follow_new.py
auto_follow_new.py
+8
-4
auto_pick.py
auto_pick.py
+5
-3
dd.py
dd.py
+10
-0
No files found.
.idea/workspace.xml
View file @
fecd87b1
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"fd1f0b61-1139-44e5-87e7-f8b86ff52376"
name=
"Default Changelist"
comment=
""
>
<list
default=
"true"
id=
"fd1f0b61-1139-44e5-87e7-f8b86ff52376"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/auto_follow
.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_follo
w.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/auto_follow
_new.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_follow_ne
w.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/
exe.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/exe
.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/
auto_pick.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/auto_pick
.py"
afterDir=
"false"
/>
</list>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
...
@@ -66,16 +66,16 @@
...
@@ -66,16 +66,16 @@
<entry
key=
"csv"
value=
"1"
/>
<entry
key=
"csv"
value=
"1"
/>
<entry
key=
"cuigeng"
value=
"3"
/>
<entry
key=
"cuigeng"
value=
"3"
/>
<entry
key=
"data"
value=
"1"
/>
<entry
key=
"data"
value=
"1"
/>
<entry
key=
"guanshui"
value=
"
4
"
/>
<entry
key=
"guanshui"
value=
"
5
"
/>
<entry
key=
"py"
value=
"2
77
"
/>
<entry
key=
"py"
value=
"2
80
"
/>
<entry
key=
"xuqiu"
value=
"3"
/>
<entry
key=
"xuqiu"
value=
"3"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
<usages-collector
id=
"statistics.file.types.open"
>
<usages-collector
id=
"statistics.file.types.open"
>
<counts>
<counts>
<entry
key=
"CSV"
value=
"1"
/>
<entry
key=
"CSV"
value=
"1"
/>
<entry
key=
"PLAIN_TEXT"
value=
"3
2
"
/>
<entry
key=
"PLAIN_TEXT"
value=
"3
3
"
/>
<entry
key=
"Python"
value=
"2
77
"
/>
<entry
key=
"Python"
value=
"2
80
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
<usages-collector
id=
"statistics.file.extensions.edit"
>
<usages-collector
id=
"statistics.file.extensions.edit"
>
...
@@ -85,180 +85,179 @@
...
@@ -85,180 +85,179 @@
<entry
key=
"comment"
value=
"16"
/>
<entry
key=
"comment"
value=
"16"
/>
<entry
key=
"cuigeng"
value=
"1"
/>
<entry
key=
"cuigeng"
value=
"1"
/>
<entry
key=
"data"
value=
"12"
/>
<entry
key=
"data"
value=
"12"
/>
<entry
key=
"dummy"
value=
"
15
"
/>
<entry
key=
"dummy"
value=
"
31
"
/>
<entry
key=
"py"
value=
"7
521
"
/>
<entry
key=
"py"
value=
"7
663
"
/>
<entry
key=
"unr_data"
value=
"1"
/>
<entry
key=
"unr_data"
value=
"1"
/>
<entry
key=
"xuqiu"
value=
"1"
/>
<entry
key=
"xuqiu"
value=
"1"
/>
</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=
"1
61
"
/>
<entry
key=
"PLAIN_TEXT"
value=
"1
77
"
/>
<entry
key=
"Python"
value=
"7
521
"
/>
<entry
key=
"Python"
value=
"7
663
"
/>
</counts>
</counts>
</usages-collector>
</usages-collector>
</session>
</session>
</component>
</component>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<splitter
split-orientation=
"horizontal"
split-proportion=
"0.5866503"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<split-first>
<entry
file=
"file://$PROJECT_DIR$/auto_urge.py"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<file
pinned=
"false"
current-in-tab=
"true"
>
<state
relative-caret-position=
"393"
>
<entry
file=
"file://$PROJECT_DIR$/auto_pick.py"
>
<caret
line=
"130"
column=
"45"
selection-start-line=
"130"
selection-start-column=
"45"
selection-end-line=
"130"
selection-end-column=
"45"
/>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<folding>
<state
relative-caret-position=
"114"
>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<caret
line=
"151"
column=
"4"
selection-start-line=
"151"
selection-start-column=
"4"
selection-end-line=
"151"
selection-end-column=
"4"
/>
<element
signature=
"e#300#477#0"
/>
<folding>
<element
signature=
"e#501#888#0"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#909#1593#0"
/>
<element
signature=
"e#283#460#0"
/>
</folding>
<element
signature=
"e#484#871#0"
/>
</state>
<element
signature=
"e#891#1576#0"
/>
</provider>
<element
signature=
"e#1599#2202#0"
/>
</entry>
</folding>
</file>
</state>
<file
pinned=
"false"
current-in-tab=
"false"
>
</provider>
<entry
file=
"file://$PROJECT_DIR$/auto_urge_three.py"
>
</entry>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
</file>
<state
relative-caret-position=
"371"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<caret
line=
"131"
selection-start-line=
"131"
selection-end-line=
"131"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_urge_three.py"
>
<folding>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<state
relative-caret-position=
"371"
>
<element
signature=
"e#284#461#0"
/>
<caret
line=
"131"
selection-start-line=
"131"
selection-end-line=
"131"
/>
<element
signature=
"e#485#872#0"
/>
<folding>
</folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</state>
<element
signature=
"e#284#461#0"
/>
</provider>
<element
signature=
"e#485#872#0"
/>
</entry>
</folding>
</file>
</state>
<file
pinned=
"false"
current-in-tab=
"false"
>
</provider>
<entry
file=
"file://$PROJECT_DIR$/auto_click.py"
>
</entry>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
</file>
<state
relative-caret-position=
"540"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<caret
line=
"111"
column=
"22"
selection-start-line=
"111"
selection-start-column=
"22"
selection-end-line=
"111"
selection-end-column=
"22"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_click.py"
>
<folding>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<state
relative-caret-position=
"359"
>
<element
signature=
"e#369#546#0"
/>
<caret
line=
"96"
column=
"8"
lean-forward=
"true"
selection-start-line=
"96"
selection-start-column=
"8"
selection-end-line=
"96"
selection-end-column=
"56"
/>
<element
signature=
"e#570#957#0"
/>
<folding>
<element
signature=
"e#977#1657#0"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#2348#2936#0"
/>
<element
signature=
"e#369#546#0"
/>
<element
signature=
"e#2970#3827#0"
/>
<element
signature=
"e#570#957#0"
/>
</folding>
<element
signature=
"e#977#1657#0"
/>
</state>
<element
signature=
"e#2348#2936#0"
/>
</provider>
<element
signature=
"e#2970#3827#0"
/>
</entry>
</folding>
</file>
</state>
<file
pinned=
"false"
current-in-tab=
"false"
>
</provider>
<entry
file=
"file://$PROJECT_DIR$/auto_pick.py"
>
</entry>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
</file>
<state
relative-caret-position=
"183"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<caret
line=
"145"
column=
"66"
selection-start-line=
"145"
selection-start-column=
"66"
selection-end-line=
"145"
selection-end-column=
"66"
/>
<entry
file=
"file://$PROJECT_DIR$/dd.py"
>
<folding>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<state
relative-caret-position=
"120"
>
<element
signature=
"e#283#460#0"
/>
<caret
line=
"8"
column=
"17"
selection-start-line=
"8"
selection-start-column=
"17"
selection-end-line=
"8"
selection-end-column=
"17"
/>
<element
signature=
"e#484#871#0"
/>
</state>
<element
signature=
"e#891#1576#0"
/>
</provider>
<element
signature=
"e#1599#2202#0"
/>
</entry>
</folding>
</file>
</state>
<file
pinned=
"false"
current-in-tab=
"false"
>
</provider>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
</entry>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
</file>
<state
relative-caret-position=
"-33"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<caret
line=
"113"
column=
"26"
selection-start-line=
"113"
selection-start-column=
"26"
selection-end-line=
"113"
selection-end-column=
"26"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_pick_five.py"
>
<folding>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<state
relative-caret-position=
"195"
>
<element
signature=
"e#306#483#0"
/>
<caret
line=
"144"
column=
"73"
selection-start-line=
"144"
selection-start-column=
"73"
selection-end-line=
"144"
selection-end-column=
"73"
/>
<element
signature=
"e#507#894#0"
/>
<folding>
<element
signature=
"e#915#1648#0"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#1690#2069#0"
/>
<element
signature=
"e#281#458#0"
/>
<element
signature=
"e#2100#2311#0"
/>
<element
signature=
"e#482#869#0"
/>
<element
signature=
"e#2344#2880#0"
/>
<element
signature=
"e#890#1575#0"
/>
<element
signature=
"e#2906#3160#0"
/>
<element
signature=
"e#1609#1969#0"
/>
</folding>
<element
signature=
"e#1999#2212#0"
/>
</state>
<element
signature=
"e#2242#2811#0"
/>
</provider>
<element
signature=
"e#2844#3269#0"
/>
</entry>
</folding>
</file>
</state>
<file
pinned=
"false"
current-in-tab=
"false"
>
</provider>
<entry
file=
"file://$PROJECT_DIR$/auto_follow.py"
>
</entry>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
</file>
<state>
<file
pinned=
"false"
current-in-tab=
"false"
>
<caret
selection-end-line=
"202"
selection-end-column=
"73"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_star_topic.py"
>
<folding>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<state
relative-caret-position=
"-80"
>
<element
signature=
"e#279#456#0"
/>
<caret
line=
"136"
column=
"45"
selection-start-line=
"136"
selection-start-column=
"45"
selection-end-line=
"136"
selection-end-column=
"45"
/>
<element
signature=
"e#480#867#0"
/>
<folding>
<element
signature=
"e#888#1571#0"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#2264#2843#0"
/>
<element
signature=
"e#338#515#0"
/>
<element
signature=
"e#2879#4090#0"
/>
<element
signature=
"e#539#926#0"
/>
</folding>
<element
signature=
"e#947#1632#0"
/>
</state>
</folding>
</provider>
</state>
</entry>
</provider>
</file>
</entry>
<file
pinned=
"false"
current-in-tab=
"false"
>
</file>
<entry
file=
"file://$PROJECT_DIR$/guanshui"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<entry
file=
"file://$PROJECT_DIR$/auto_commnet.py"
>
<state
relative-caret-position=
"425"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<caret
line=
"265"
column=
"14"
selection-start-line=
"265"
selection-start-column=
"14"
selection-end-line=
"265"
selection-end-column=
"14"
/>
<state
relative-caret-position=
"-33"
>
</state>
<caret
line=
"113"
column=
"26"
selection-start-line=
"113"
selection-start-column=
"26"
selection-end-line=
"113"
selection-end-column=
"26"
/>
</provider>
<folding>
</entry>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</file>
<element
signature=
"e#306#483#0"
/>
<file
pinned=
"false"
current-in-tab=
"false"
>
<element
signature=
"e#507#894#0"
/>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_new.py"
>
<element
signature=
"e#915#1648#0"
/>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<element
signature=
"e#1690#2069#0"
/>
<state
relative-caret-position=
"-650"
>
<element
signature=
"e#2100#2311#0"
/>
<caret
line=
"129"
column=
"67"
selection-start-line=
"129"
selection-start-column=
"9"
selection-end-line=
"129"
selection-end-column=
"67"
/>
<element
signature=
"e#2344#2880#0"
/>
<folding>
<element
signature=
"e#2906#3160#0"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
</folding>
<element
signature=
"e#279#456#0"
/>
</state>
<element
signature=
"e#480#867#0"
/>
</provider>
<element
signature=
"e#888#1571#0"
/>
</entry>
<element
signature=
"e#1607#1992#0"
/>
</file>
</folding>
<file
pinned=
"false"
current-in-tab=
"false"
>
</state>
<entry
file=
"file://$PROJECT_DIR$/auto_follow.py"
>
</provider>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
</entry>
<state
relative-caret-position=
"246"
>
</file>
<caret
line=
"175"
selection-start-line=
"175"
selection-end-line=
"181"
selection-end-column=
"49"
/>
<file
pinned=
"false"
current-in-tab=
"false"
>
<folding>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_majia.py"
>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<element
signature=
"e#279#456#0"
/>
<state
relative-caret-position=
"-340"
>
<element
signature=
"e#480#867#0"
/>
<caret
line=
"125"
column=
"26"
lean-forward=
"true"
selection-start-line=
"125"
selection-start-column=
"26"
selection-end-line=
"125"
selection-end-column=
"26"
/>
<element
signature=
"e#888#1571#0"
/>
<folding>
<element
signature=
"e#2264#2843#0"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#2879#4090#0"
/>
<element
signature=
"e#421#598#0"
/>
</folding>
<element
signature=
"e#622#1009#0"
/>
</state>
<element
signature=
"e#1036#1699#0"
/>
</provider>
<marker
date=
"1544252362000"
expanded=
"true"
signature=
"1031:1701"
ph=
"..."
/>
</entry>
</folding>
</file>
</state>
<file
pinned=
"false"
current-in-tab=
"true"
>
</provider>
<entry
file=
"file://$PROJECT_DIR$/exe.py"
>
</entry>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
</file>
<state
relative-caret-position=
"105"
>
</leaf>
<caret
line=
"7"
column=
"14"
selection-start-line=
"7"
selection-start-column=
"14"
selection-end-line=
"7"
selection-end-column=
"14"
/>
</split-first>
</state>
<split-second>
</provider>
<leaf>
</entry>
<file
pinned=
"false"
current-in-tab=
"true"
>
</file>
<entry
file=
"file://$PROJECT_DIR$/auto_urge.py"
>
<file
pinned=
"false"
current-in-tab=
"false"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_majia.py"
>
<state
relative-caret-position=
"393"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<caret
line=
"130"
column=
"45"
selection-start-line=
"130"
selection-start-column=
"45"
selection-end-line=
"130"
selection-end-column=
"45"
/>
<state
relative-caret-position=
"-340"
>
<folding>
<caret
line=
"125"
column=
"26"
lean-forward=
"true"
selection-start-line=
"125"
selection-start-column=
"26"
selection-end-line=
"125"
selection-end-column=
"26"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<folding>
<element
signature=
"e#300#477#0"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#501#888#0"
/>
<element
signature=
"e#421#598#0"
/>
<element
signature=
"e#909#1593#0"
/>
<element
signature=
"e#622#1009#0"
/>
</folding>
<element
signature=
"e#1036#1699#0"
/>
</state>
<marker
date=
"1544252362000"
expanded=
"true"
signature=
"1031:1701"
ph=
"..."
/>
</provider>
</folding>
</entry>
</state>
</file>
</provider>
</leaf>
</entry>
</split-second>
</file>
</splitter>
</leaf>
</component>
</component>
<component
name=
"FileTemplateManagerImpl"
>
<component
name=
"FileTemplateManagerImpl"
>
<option
name=
"RECENT_TEMPLATES"
>
<option
name=
"RECENT_TEMPLATES"
>
...
@@ -302,18 +301,20 @@
...
@@ -302,18 +301,20 @@
<option
value=
"$PROJECT_DIR$/auto_commnet.py"
/>
<option
value=
"$PROJECT_DIR$/auto_commnet.py"
/>
<option
value=
"$PROJECT_DIR$/auto_every_day.py"
/>
<option
value=
"$PROJECT_DIR$/auto_every_day.py"
/>
<option
value=
"$PROJECT_DIR$/auto_lunch_app.py"
/>
<option
value=
"$PROJECT_DIR$/auto_lunch_app.py"
/>
<option
value=
"$PROJECT_DIR$/auto_pick.py"
/>
<option
value=
"$PROJECT_DIR$/auto_star_topic.py"
/>
<option
value=
"$PROJECT_DIR$/auto_star_topic.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge.py"
/>
<option
value=
"$PROJECT_DIR$/auto_urge.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click.py"
/>
<option
value=
"$PROJECT_DIR$/auto_click.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow.py"
/>
<option
value=
"$PROJECT_DIR$/exe.py"
/>
<option
value=
"$PROJECT_DIR$/exe.py"
/>
<option
value=
"$PROJECT_DIR$/dd.py"
/>
<option
value=
"$PROJECT_DIR$/auto_follow_new.py"
/>
<option
value=
"$PROJECT_DIR$/auto_pick.py"
/>
</list>
</list>
</option>
</option>
</component>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"1"
>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"
43
"
/>
<option
name=
"x"
value=
"
24
"
/>
<option
name=
"y"
value=
"
55
"
/>
<option
name=
"y"
value=
"
23
"
/>
<option
name=
"width"
value=
"1705"
/>
<option
name=
"width"
value=
"1705"
/>
<option
name=
"height"
value=
"727"
/>
<option
name=
"height"
value=
"727"
/>
</component>
</component>
...
@@ -358,7 +359,7 @@
...
@@ -358,7 +359,7 @@
</list>
</list>
</option>
</option>
</component>
</component>
<component
name=
"RunManager"
selected=
"Python.
exe
"
>
<component
name=
"RunManager"
selected=
"Python.
dd
"
>
<configuration
name=
"auto_click_star"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<configuration
name=
"auto_click_star"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<module
name=
"cybertron"
/>
<module
name=
"cybertron"
/>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
...
@@ -401,6 +402,27 @@
...
@@ -401,6 +402,27 @@
<option
name=
"INPUT_FILE"
value=
""
/>
<option
name=
"INPUT_FILE"
value=
""
/>
<method
v=
"2"
/>
<method
v=
"2"
/>
</configuration>
</configuration>
<configuration
name=
"dd"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<module
name=
"cybertron"
/>
<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$"
/>
<option
name=
"IS_MODULE_SDK"
value=
"true"
/>
<option
name=
"ADD_CONTENT_ROOTS"
value=
"true"
/>
<option
name=
"ADD_SOURCE_ROOTS"
value=
"true"
/>
<option
name=
"SCRIPT_NAME"
value=
"$PROJECT_DIR$/dd.py"
/>
<option
name=
"PARAMETERS"
value=
""
/>
<option
name=
"SHOW_COMMAND_LINE"
value=
"false"
/>
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
<option
name=
"MODULE_MODE"
value=
"false"
/>
<option
name=
"REDIRECT_INPUT"
value=
"false"
/>
<option
name=
"INPUT_FILE"
value=
""
/>
<method
v=
"2"
/>
</configuration>
<configuration
name=
"exe"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<configuration
name=
"exe"
type=
"PythonConfigurationType"
factoryName=
"Python"
temporary=
"true"
>
<module
name=
"cybertron"
/>
<module
name=
"cybertron"
/>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
<option
name=
"INTERPRETER_OPTIONS"
value=
""
/>
...
@@ -413,7 +435,7 @@
...
@@ -413,7 +435,7 @@
<option
name=
"IS_MODULE_SDK"
value=
"true"
/>
<option
name=
"IS_MODULE_SDK"
value=
"true"
/>
<option
name=
"ADD_CONTENT_ROOTS"
value=
"true"
/>
<option
name=
"ADD_CONTENT_ROOTS"
value=
"true"
/>
<option
name=
"ADD_SOURCE_ROOTS"
value=
"true"
/>
<option
name=
"ADD_SOURCE_ROOTS"
value=
"true"
/>
<option
name=
"SCRIPT_NAME"
value=
"$PROJECT_DIR$/
exe
.py"
/>
<option
name=
"SCRIPT_NAME"
value=
"$PROJECT_DIR$/
auto_follow_new
.py"
/>
<option
name=
"PARAMETERS"
value=
""
/>
<option
name=
"PARAMETERS"
value=
""
/>
<option
name=
"SHOW_COMMAND_LINE"
value=
"false"
/>
<option
name=
"SHOW_COMMAND_LINE"
value=
"false"
/>
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
...
@@ -448,9 +470,11 @@
...
@@ -448,9 +470,11 @@
<item
itemvalue=
"Python.auto_click_star"
/>
<item
itemvalue=
"Python.auto_click_star"
/>
<item
itemvalue=
"Python.exercise"
/>
<item
itemvalue=
"Python.exercise"
/>
<item
itemvalue=
"Python.exe"
/>
<item
itemvalue=
"Python.exe"
/>
<item
itemvalue=
"Python.dd"
/>
</list>
</list>
<recent_temporary>
<recent_temporary>
<list>
<list>
<item
itemvalue=
"Python.dd"
/>
<item
itemvalue=
"Python.exe"
/>
<item
itemvalue=
"Python.exe"
/>
<item
itemvalue=
"Python.exercise"
/>
<item
itemvalue=
"Python.exercise"
/>
<item
itemvalue=
"Python.auto_click_star"
/>
<item
itemvalue=
"Python.auto_click_star"
/>
...
@@ -471,15 +495,15 @@
...
@@ -471,15 +495,15 @@
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"
43"
y=
"55"
width=
"1705"
height=
"727"
extended-state=
"1
"
/>
<frame
x=
"
330"
y=
"79"
width=
"1705"
height=
"727"
extended-state=
"0
"
/>
<editor
active=
"true"
/>
<editor
active=
"true"
/>
<layout>
<layout>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.20665084
"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.030285036
"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
id=
"Favorites"
order=
"2"
side_tool=
"true"
/>
<window_info
id=
"Favorites"
order=
"2"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.32921174"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.32921174"
/>
<window_info
a
ctive=
"true"
anchor=
"bottom"
id=
"Run"
order=
"2"
visible=
"true"
weight=
"0.32913387
"
/>
<window_info
a
nchor=
"bottom"
id=
"Run"
order=
"2"
visible=
"true"
weight=
"0.21889764
"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.392126"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.392126"
/>
<window_info
anchor=
"bottom"
id=
"Cvs"
order=
"4"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Cvs"
order=
"4"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
...
@@ -583,13 +607,6 @@
...
@@ -583,13 +607,6 @@
<entry
file=
"file://$PROJECT_DIR$/auto_one_day.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_one_day.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/guanshui"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"520"
>
<caret
line=
"265"
column=
"14"
selection-start-line=
"265"
selection-start-column=
"14"
selection-end-line=
"265"
selection-end-column=
"14"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/batch user gen"
>
<entry
file=
"file://$PROJECT_DIR$/batch user gen"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"390"
>
<state
relative-caret-position=
"390"
>
...
@@ -680,20 +697,6 @@
...
@@ -680,20 +697,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_pick.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"183"
>
<caret
line=
"145"
column=
"66"
selection-start-line=
"145"
selection-start-column=
"66"
selection-end-line=
"145"
selection-end-column=
"66"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#283#460#0"
/>
<element
signature=
"e#484#871#0"
/>
<element
signature=
"e#891#1576#0"
/>
<element
signature=
"e#1599#2202#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_pick_five.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_pick_five.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"195"
>
<state
relative-caret-position=
"195"
>
...
@@ -724,19 +727,6 @@
...
@@ -724,19 +727,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_urge.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"393"
>
<caret
line=
"130"
column=
"45"
selection-start-line=
"130"
selection-start-column=
"45"
selection-end-line=
"130"
selection-end-column=
"45"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#300#477#0"
/>
<element
signature=
"e#501#888#0"
/>
<element
signature=
"e#909#1593#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_urge_three.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_urge_three.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"371"
>
<state
relative-caret-position=
"371"
>
...
@@ -766,21 +756,6 @@
...
@@ -766,21 +756,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"540"
>
<caret
line=
"111"
column=
"22"
selection-start-line=
"111"
selection-start-column=
"22"
selection-end-line=
"111"
selection-end-column=
"22"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#369#546#0"
/>
<element
signature=
"e#570#957#0"
/>
<element
signature=
"e#977#1657#0"
/>
<element
signature=
"e#2348#2936#0"
/>
<element
signature=
"e#2970#3827#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_majia.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_majia.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-340"
>
<state
relative-caret-position=
"-340"
>
...
@@ -797,8 +772,8 @@
...
@@ -797,8 +772,8 @@
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow.py"
>
<entry
file=
"file://$PROJECT_DIR$/auto_follow.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"246"
>
<state>
<caret
line=
"175"
selection-start-line=
"175"
selection-end-line=
"181"
selection-end-column=
"49
"
/>
<caret
selection-end-line=
"202"
selection-end-column=
"73
"
/>
<folding>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#279#456#0"
/>
<element
signature=
"e#279#456#0"
/>
...
@@ -810,10 +785,73 @@
...
@@ -810,10 +785,73 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/exe.py"
>
<entry
file=
"file://$PROJECT_DIR$/guanshui"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"425"
>
<caret
line=
"265"
column=
"14"
selection-start-line=
"265"
selection-start-column=
"14"
selection-end-line=
"265"
selection-end-column=
"14"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_click.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"359"
>
<caret
line=
"96"
column=
"8"
lean-forward=
"true"
selection-start-line=
"96"
selection-start-column=
"8"
selection-end-line=
"96"
selection-end-column=
"56"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#369#546#0"
/>
<element
signature=
"e#570#957#0"
/>
<element
signature=
"e#977#1657#0"
/>
<element
signature=
"e#2348#2936#0"
/>
<element
signature=
"e#2970#3827#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/dd.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"120"
>
<caret
line=
"8"
column=
"17"
selection-start-line=
"8"
selection-start-column=
"17"
selection-end-line=
"8"
selection-end-column=
"17"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_follow_new.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-650"
>
<caret
line=
"129"
column=
"67"
selection-start-line=
"129"
selection-start-column=
"9"
selection-end-line=
"129"
selection-end-column=
"67"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#279#456#0"
/>
<element
signature=
"e#480#867#0"
/>
<element
signature=
"e#888#1571#0"
/>
<element
signature=
"e#1607#1992#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_urge.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"393"
>
<caret
line=
"130"
column=
"45"
selection-start-line=
"130"
selection-start-column=
"45"
selection-end-line=
"130"
selection-end-column=
"45"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#300#477#0"
/>
<element
signature=
"e#501#888#0"
/>
<element
signature=
"e#909#1593#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/auto_pick.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"105"
>
<state
relative-caret-position=
"114"
>
<caret
line=
"7"
column=
"14"
selection-start-line=
"7"
selection-start-column=
"14"
selection-end-line=
"7"
selection-end-column=
"14"
/>
<caret
line=
"151"
column=
"4"
selection-start-line=
"151"
selection-start-column=
"4"
selection-end-line=
"151"
selection-end-column=
"4"
/>
<folding>
<element
signature=
"e#0#15#0"
expanded=
"true"
/>
<element
signature=
"e#283#460#0"
/>
<element
signature=
"e#484#871#0"
/>
<element
signature=
"e#891#1576#0"
/>
<element
signature=
"e#1599#2202#0"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
...
auto_follow_new.py
View file @
fecd87b1
...
@@ -140,13 +140,17 @@ def get_commnet_id(numtime):
...
@@ -140,13 +140,17 @@ def get_commnet_id(numtime):
user_id
=
[]
user_id
=
[]
for
i
in
data_id
:
for
i
in
data_id
:
user_id
.
append
(
i
)
if
i
[
0
]
is
not
None
:
user_id
.
append
(
i
)
for
i
in
data1_id
:
for
i
in
data1_id
:
user_id
.
append
(
i
)
if
i
[
0
]
is
not
None
:
user_id
.
append
(
i
)
for
i
in
data2_id
:
for
i
in
data2_id
:
user_id
.
append
(
i
)
if
i
[
0
]
is
not
None
:
user_id
.
append
(
i
)
for
i
in
data3_id
:
for
i
in
data3_id
:
user_id
.
append
(
i
)
if
i
[
0
]
is
not
None
:
user_id
.
append
(
i
)
print
(
"Database version :
%
s "
%
user_id
)
print
(
"Database version :
%
s "
%
user_id
)
...
...
auto_pick.py
View file @
fecd87b1
...
@@ -140,15 +140,17 @@ def time_conv(numtime):
...
@@ -140,15 +140,17 @@ def time_conv(numtime):
return
None
return
None
def
get_data
(
numtime
):
def
get_data
(
numtime
):
try
:
try
:
db
=
pymysql
.
connect
(
host
=
"rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com"
,
user
=
'work'
,
passwd
=
'Gengmei123'
,
db
=
"alpha"
,
port
=
3306
)
db
=
pymysql
.
connect
(
host
=
"rm-2ze5k2we69904787l.mysql.rds.aliyuncs.com"
,
user
=
'work'
,
passwd
=
'Gengmei123'
,
db
=
"alpha"
,
port
=
3306
)
cursor
=
db
.
cursor
()
cursor
=
db
.
cursor
()
cursor
.
execute
(
"SELECT distinct(user_id) FROM topic WHERE create_time LIKE '
%%%%%
s
%%%%
'"
%
numtime
)
cursor
.
execute
(
"SELECT distinct(user_id) FROM topic
WHERE create_time LIKE '
%%%%%
s
%%%%
'"
%
numtime
)
data
=
cursor
.
fetchall
()
data
=
cursor
.
fetchall
()
user_id
=
list
(
data
)
user_id
=
list
(
data
)
logging
.
info
(
"Database version :
%
s "
%
data
)
logging
.
info
(
"Database version :
%
s "
%
data
)
db
.
close
()
db
.
close
()
return
user_id
return
user_id
except
:
except
:
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
logging
.
error
(
"catch exception,get_data:
%
s"
%
traceback
.
format_exc
())
return
None
return
None
...
@@ -194,9 +196,9 @@ if __name__ == "__main__":
...
@@ -194,9 +196,9 @@ if __name__ == "__main__":
#topic
#topic
for
i
in
time_list
:
for
i
in
range
(
len
(
time_list
))
:
numtime
=
time_conv
(
i
)
numtime
=
time_conv
(
time_list
[
i
]
)
user_id
=
get_data
(
numtime
)
user_id
=
get_data
(
numtime
)
...
...
dd.py
0 → 100644
View file @
fecd87b1
x
=
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
695
,),
(
696
,),
(
695
,),
(
698
,),
(
699
,),
(
700
,),
(
695
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
709
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
678
,),
(
None
,),
(
709
,),
(
709
,),
(
709
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
732
,),
(
730
,),
(
729
,),
(
None
,),
(
173
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,),
(
None
,)
for
i
in
x
:
if
i
[
0
]
is
not
None
:
print
(
i
[
0
])
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment