lucaskopelman lucaskopelman
  • 18-08-2019
  • Computers and Technology
contestada

How do I change directories in python to run a file?

How do I change directories in python to run a file class=

Respuesta :

BaileyOrion
BaileyOrion BaileyOrion
  • 18-08-2019

write the following at the top of your program:

import os

then write in your code:

os.chdir(path)

and where I've written path, write where you want to change to

Answer Link

Otras preguntas

What are some characteristics of hunter-gatherer societies?
You find a job that pays $11.25 per hour. You plan to work 40 hour week. what will your weekly gross be
A machine prints 230 movie posters each hour write and solve an equation to find the number of hours it takes the machine to print 1265 posters
"A cube measures 6.6 inches on each side. Find the area of one face of the cube.
The _______ contains the main idea in a paragraph. A. declarative statement B. first sentence C. topic sentence D. thesis statement
1.Is the example a complete sentence, sentence fragment, or run-on sentence? Which she seemed to think she owned. A. run-on sentence B. complete sentence C.
A buggy and baby together weigh 140N. Center of gravity G shown on diagram. ... what is the corresponding upward force the pusher needs to exert to lift the ba
why does water fill the bottom of a glass rather than cling to the side
What feature do you usually see when tectonic plates move apart?
five sixths as a decimal