1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
AlladinOne [14]
3 years ago
13

I need help on this it's not really a subject it's drivers edd

Computers and Technology
1 answer:
Papessa [141]3 years ago
5 0

WHICH QUESTION DO U NEED HELP WITH

You might be interested in
When working in the navigation pane, you ____ a folder to open it?
SpyIntel [72]
When working in the navigation pane, you click a folder to open it
3 0
3 years ago
Write a recursive function, displayFiles, that expects a pathname as an argument. The path name can be either the name of a file
timama [110]

Answer:

Here is the Python function:

import os   #module used to interact with operating system

def displayFiles(pathname):  #recursive function that takes a pathname as argument

  if (os.path.isdir(pathname)):  #checks if specified path (argument) is an existing directory

      for content in os.listdir(pathname):  #gets the list of all files and directories in the directory and iterates through the items of this list of directory

          contents = os.path.join(pathname, content)  #joins contents of path

          displayFiles(contents)  #calls function recursively

  else:  #if pathname refers to a file

      filename=pathname  #sets filename to pathname

      file = os.path.basename(filename)  #gets base name in specified path

      print("File Name: ", file) #displays the name of file

      with open(filename, "r") as contents:  #opens file in read mode

          print("Content:")  #prints Content:

          for lines in contents:  #iterates through the contents of file

              print(lines)   #displays the contents of file

Explanation:

The recursive function  displayFiles contains a single argument  pathname which can either be a pathname or a filename  . If the given argument is pathname for directory  , then the directory is opened and os.listdir returns a list containing the names of the entries in the directory given by pathname and append these contents in the list. Then this function is called recursively to print each file name and this function is applied to each name in the directory. However if the pathname refers to a file then the pathname is set to filename , the file is opened in read mode and the contents of the file are displayed.

8 0
4 years ago
Besides regulating traffic __________ help warn and direct drivers
Sav [38]
The answer is pavement markings. Hope I helped! :)
5 0
4 years ago
Read 2 more answers
.To modify data in a table we use the MODIFY verb? (true/false)
dem82 [27]

Answer:

false

Explanation:

The modification method in a table is called "update"

3 0
3 years ago
Which is the key benefit of using ram in a computer
Kryger [21]

Hey there!

The correct answer would be - Option B.

Hope this helps you!

3 0
3 years ago
Other questions:
  • Find meanings for the words and give examples where you can<br><br> WORTH 30 points
    12·1 answer
  • How it print media used? ​
    9·1 answer
  • is the process of creating a message to be communicated. a. Encoding b. Decoding c. Receiving d. Sending
    10·2 answers
  • At the Transport layer of the OSI, what is used to find and communicate with a particular application running on a host?
    7·1 answer
  • Which rule should be followed to stay safe online
    5·1 answer
  • Which is the correct APA format in books?​
    10·2 answers
  • A0domain indicates that the computer or DNS name does not exist.
    7·1 answer
  • Why people shouldnt get married​
    6·1 answer
  • What do you do when ur grounded from all electronics and can't go outside and have t clean all day
    10·1 answer
  • Which attributes does not come in tag?
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!