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

which of the following BEST describes the consequences of driving under the influence?A. Driving under the influence can lead to heavy penalties, fines, and ext
The implied or emotional meaning of a word is known as: a. connotation c. dictionary definition b. denotation d. all of the above
What happens when like charges are brought together?. . a. They ae re attracted to each other b. they repel each other. c. they nuetralize each other. d. they f
What is the difference between monogenic & polygenic inheritance?
Natalia started an exercise program that includes stretching daily and yoga three times each week. What area of fitness is Natalia targeting, and what is her po
How did the Cold War came to be?
Choose the category of connective used in the following example. First, the boy hit the ball. Then it flew over the fence.
What was the main benefit of scientific management
During a medical screening, lung capacity testing is a standard procedure. please select the best answer from the choices provided. t f
Ciliates have complex internal structures involved in different functional systems. Which organelles aid in their digestion process? . A) Micronucleus and macro