Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Create and Write in file ( in Python )
elena1234
Feb 10th, 2022
(
edited
)
207
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
⭐⭐ Free Crypto Method ⭐ ⭐⭐
JavaScript | 32 sec ago | 0.67 KB
✅✅✅ UNLIMITED MONEY NEW GLITCH ✅✅✅
JavaScript | 2 min ago | 0.67 KB
🎯🎯 +50,000$ in 1 month⭐ 🎯🎯
JavaScript | 5 min ago | 0.67 KB
💎💎 INSTANT MONEY METHOD - FRESH RELEASE
JavaScript | 6 min ago | 0.67 KB
python_decorator
Python | 6 min ago | 1.32 KB
⭐⭐ FREE BTC GUIDE ✅ Working ⭐⭐
JavaScript | 10 min ago | 0.67 KB
⚡ Earn 8,000$ Monthly Leaked Guide 🎯⭐
JavaScript | 10 min ago | 0.67 KB
🚨 FREE 2,000$ FROM SWAPZONE
JavaScript | 14 min ago | 0.67 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!