menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Complete the code to create a new file. aFile = open("stuff.txt", "__")
asked
Mar 27, 2023
129k
views
2
votes
Complete the code to create a new file.
aFile = open("stuff.txt", "__")
Computers and Technology
high-school
Pokrate
asked
by
Pokrate
8.3k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
3
votes
Answer:
aFile = open("stuff.txt", "w")
Claes Wikner
answered
Apr 2, 2023
by
Claes Wikner
8.7k
points
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Jan 5, 2023
85.9k
views
Complete the code to create a new file. aFile = open("stuff.txt", "W" A W R Answer W Next Question You have three modes for opening a file. You wish to add to an existing file. What letter belongs in this
Ivan Kolyhalov
asked
Jan 5, 2023
by
Ivan Kolyhalov
8.5k
points
Computers and Technology
college
2
answers
14
votes
85.9k
views
asked
Feb 12, 2021
226k
views
A file named "games.txt" exists and has 80 lines of data. You open the file with the following line of code. aFile = open("games.txt", "w") You write two lines to the file in the program. How many lines
Phileas
asked
Feb 12, 2021
by
Phileas
8.0k
points
Computers and Technology
college
1
answer
4
votes
226k
views
asked
Feb 9, 2023
1.1k
views
True or false: to display the last twenty lines of the text file, afile.txt, you would type tail afile.txt.
Pfeilbr
asked
Feb 9, 2023
by
Pfeilbr
7.5k
points
Computers and Technology
high-school
1
answer
1
vote
1.1k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org