Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Recolic
chinese-obfs
Commits
8ec170c9
Unverified
Commit
8ec170c9
authored
Nov 01, 2019
by
Lemon
Committed by
GitHub
Nov 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Main Function And Cmd Input
规范起见,加入Main函数入口 加入从cmd获取主题
parent
cc7a5b84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
自动狗屁不通文章生成器.py
自动狗屁不通文章生成器.py
+15
-12
No files found.
自动狗屁不通文章生成器.py
View file @
8ec170c9
...
...
@@ -187,15 +187,18 @@ def 另起一段():
return
xx
for
x
in
xx
:
tmp
=
str
()
while
(
len
(
tmp
)
<
6000
)
:
分支
=
random
.
randint
(
0
,
100
)
if
分支
<
5
:
tmp
+=
另起一段
()
elif
分支
<
20
:
tmp
+=
来点名人名言
()
else
:
tmp
+=
废话
[
random
.
randint
(
0
,
len
(
废话
)
-
1
)]
tmp
=
tmp
.
replace
(
"x"
,
xx
)
print
(
tmp
)
if
__name__
==
"__main__"
:
xx
=
input
(
"请输入文章主题:"
)
for
x
in
xx
:
tmp
=
str
()
while
(
len
(
tmp
)
<
6000
)
:
分支
=
random
.
randint
(
0
,
100
)
if
分支
<
5
:
tmp
+=
另起一段
()
elif
分支
<
20
:
tmp
+=
来点名人名言
()
else
:
tmp
+=
废话
[
random
.
randint
(
0
,
len
(
废话
)
-
1
)]
tmp
=
tmp
.
replace
(
"x"
,
xx
)
print
(
tmp
)
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