Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Create and Write in file ( in Python )
elena1234
Feb 10th, 2022
(
edited
)
190
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
with
open
(
"new_test.txt"
,
mode
=
"w"
)
as
file
:
file
.
write
(
"New Line
\n
"
)
with
open
(
"new_test.txt"
,
mode
=
"a"
)
as
file
:
file
.
write
(
"Second Line
\n
"
)
file
.
write
(
"Third Line
\n
"
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Make 3500$ in 20 MIN [Method] J
JavaScript | 3 sec ago | 0.07 KB
FREE BTC GUIDE O
JavaScript | 18 sec ago | 0.07 KB
FREE BTC GUIDE E
JavaScript | 43 sec ago | 0.07 KB
Make $2000 in 15 minutes E
JavaScript | 57 sec ago | 0.07 KB
Make $2200 in 15 minutes T
JavaScript | 1 min ago | 0.07 KB
MAKE $1000 INSTANTLY R
JavaScript | 1 min ago | 0.07 KB
MAKE $5000 INSTANTLY 0
JavaScript | 2 min ago | 0.07 KB
Make 3500$ in 20 MIN [Method] 7
JavaScript | 2 min ago | 0.07 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!