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

QUESTION 1 Which term describes the interaction between two animals when one feeds on the other? A.competition B.community C.predator/prey D.an ecosystem
A survey of 500 randomly selected people who commute to Manhattan for work showed that 187 of them used public transportation. An estimated 108,000 people commu
What is 3% of 1700 Can you please explain the method please
The United States became involved in World War II primarily because B) European democracies supported United States policies toward Germany and Japan B) Europea
What is the volume, in cubic feet of the tent.
his is an image of an envelope from the mid-1800s. Study it, then answer the question. What does this image say about cotton? Cotton ruled the US economy. Cotto
Is Great Wall of China was built in sections tire or fasle
Calculate the power required for heating a 1.5 kg sample of water for 10 minutes in a thermal system. What is the amount of energy required to raise the tempera
Approximately what percentage of hardcover books sold were nonfiction?
10000000000000000000*1