Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson12-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
280fb2cb
authored
Aug 20, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
19fbf8e1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
10 deletions
diy.py
poiu.py
sales-list.py
diy.py
View file @
280fb2cb
with
open
(
r
)
as
filel
:
with
open
(
r'd:\新建文件夹\OneDrive\桌面\sales-lst.txt'
,
'r'
,
encoding
=
'utf-8'
)
as
file
:
\ No newline at end of file
a
=
file
.
readlines
()
for
i
in
a
:
data
=
i
.
split
()
print
(
data
[
1
:])
\ No newline at end of file
poiu.py
0 → 100644
View file @
280fb2cb
#txt='welcome to txt.split()
#(new_txtthe bellcode'
#new_txt=)
num
=
'13.15.21.9.14.22'
new_num
=
num
.
split
(
'.'
)
print
(
new_num
)
\ No newline at end of file
sales-list.py
View file @
280fb2cb
with
open
(
r'd:\新建文件夹\OneDrive\桌面\sales-lst.txt'
,
'r'
,
encoding
=
'utf-8'
)
as
filel
:
a
=
file
.
readlines
()
#prin(a)
for
i
in
a
:
print
(
i
)
\ 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