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

find the area of a triangle with the following dimensions: a = 12 yards b=16 yards and c=24 yards round to the nearest square yard
Do 1 gallon and 8 pints represents the same amount
How do I solve 2(a+2)=2?
How is the horizontal component of velocity for a projectile affected by the vertical component?
Do 1 gallon and 8 pints represents the same amount
Give this topic sentence : Swimming is really the health exercise anyone can do. What other detailed sentence you can say about the topic sentence.
How many grams are in 11.9 moles of chromium?
How many grams are in 2.4 moles of sulfur?
I need the inequality answer.florence wants to buy onions and doesn't want to spend no more than $3. Can she buy 2.5 pounds ? They are 1.25 pound
How is the horizontal component of velocity for a projectile affected by the vertical component?