Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson14_1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d60cf62c
authored
Mar 29, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
f47689a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
diy.py
qwe.py
diy.py
View file @
d60cf62c
with
open
(
r"C:\Users\mk11\Desktop\a.txt"
,
'w'
,
encoding
=
'utf-8'
)
as
file
:
file
.
writelines
(
'锦瑟
\n
[唐] 李商隐
\n
锦瑟无端五十弦,
\n
一弦一柱思华年。
\n
庄生晓梦迷蝴蝶,
\n
望帝春心托杜鹃。
\n
沧海月明珠有泪,
\n
蓝田玉暖玉生烟。
\n
此情可待成追忆,
\n
只是当时已惘然。'
)
\ No newline at end of file
qwe.py
0 → 100644
View file @
d60cf62c
with
open
(
r"C:\Users\mk11\Desktop\sha.txt"
,
"w"
,
encoding
=
"utf-8"
)
as
fi1
:
fi1
=
fi1
.
writelines
(
"锦瑟
\n
[唐]李商隐
\n
锦瑟无端五十弦,
\n
一弦一柱思华年。
\n
庄生晓梦迷蝴蝶,
\n
望帝春心托杜鹃。
\n
沧海月明珠有泪,
\n
蓝田日暖玉生烟。
\n
此情可待成追忆,
\n
只是当时已惘然。"
)
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