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
5b8ea3cb
Commit
5b8ea3cb
authored
Apr 22, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
f32a6007
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
workspace.xml
.idea/workspace.xml
+0
-0
instant.py
instant.py
+4
-4
No files found.
.idea/workspace.xml
View file @
5b8ea3cb
This diff is collapsed.
Click to expand it.
instant.py
View file @
5b8ea3cb
...
...
@@ -43,14 +43,14 @@ if __name__ == "__main__":
global
exec_count
exec_count
+=
1
if
exec_count
==
2
:
if
exec_count
==
1
:
print
(
"----1------"
)
sleep_time
=
random
.
randint
(
300
,
540
)
sleep_time
=
30
timer
=
threading
.
Timer
(
sleep_time
,
fun_comment
)
timer
.
start
()
if
exec_count
==
3
:
if
exec_count
==
2
:
print
(
"----2------"
)
sleep_time
=
random
.
randint
(
1000
,
1900
)
...
...
@@ -68,7 +68,7 @@ if __name__ == "__main__":
global
exec_count
exec_count
+=
1
if
exec_count
==
4
:
if
exec_count
==
3
:
print
(
"----3------"
)
# sleep_time = random.randint(300, 540)
...
...
@@ -76,7 +76,7 @@ if __name__ == "__main__":
timer
=
threading
.
Timer
(
sleep_time
,
fun_timer
)
timer
.
start
()
if
exec_count
==
5
:
if
exec_count
==
4
:
print
(
"----4------"
)
# sleep_time = random.randint(1000, 1900)
...
...
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