menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Python's open function, which expects a file pathname and a ____ string as arguments, opens a connection to the file on disk and returns a file object.
asked
Jun 3, 2018
17.1k
views
0
votes
Python's open function, which expects a file pathname and a ____ string as arguments, opens a connection to the file on disk and returns a file object.
Computers and Technology
high-school
Haxtar
asked
by
Haxtar
6.8k
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
0
votes
Hi!
In pythons
open()
function, we need to insert a file pathname and a mode. The mode is basically saying how you want to
open
the file.
Hopefully, this helps! =)
Jarell
answered
Jun 9, 2018
by
Jarell
8.3k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Dec 4, 2020
91.0k
views
Write a function safeOpen() that takes one parameter, filename — a string giving the pathname of the file to be opened for reading. When safeOpen() is used to open a file, a reference to the opened file
Christian Held
asked
Dec 4, 2020
by
Christian Held
8.3k
points
Computers and Technology
college
1
answer
2
votes
91.0k
views
asked
Dec 2, 2024
82.9k
views
The variable: PATH -is made up of a list of directories to be searched in order when commands are executed without an absolute or relative pathname. -changes the location of the PATH variable. -allows
Kaelan Fouwels
asked
Dec 2, 2024
by
Kaelan Fouwels
8.4k
points
Computers and Technology
high-school
1
answer
4
votes
82.9k
views
asked
Sep 22, 2024
77.0k
views
Write a BASH script called yoda.sh that takes as a command line argument the pathname of a text file. The script will then read the lines of text, randomly permute the words within each line, and give
Wm
asked
Sep 22, 2024
by
Wm
7.9k
points
Computers and Technology
high-school
1
answer
1
vote
77.0k
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
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org