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

In the month of November Sunland Company wrote checks in the amount of $53300. In December, checks in the amount of $72910 were written. In November, $48776 of
Which of the following proportions can be used to find the value of n?​
A solid sphere, solid cylinder, and a hollow pipe all have equal masses and radii. If the three of them are released simultaneously at the top of an inclined pl
What foes the tenth amendment to the united states constitution do
In the workplace, the "open shop" meant a) skilled workers were required to join a craft union. b) workers had no right to join a union. c) workers would
Make a list of measure to maintain peace in family and society?​
You have been growing some animal cells in culture. The cells grow well for several weeks, and then their growth slows down. You conduct some tests and determin
What are code breakers
I need help place each pair of angles in the correct column.
In recent years more people have been working past the age of 65. In 2005, 27% of people aged 65–69 worked. A recent report from the Organization for Economi