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

When magnesium sulfate is used to treat preeclampsia the nurse must implement which interventions?
The nurse assessing an 11-year-old who is having an asthma attack expects to hear adventitious sounds of:_______
In 2011, processors of meat products account for about ______ percent of the total value added by food processors and manufacturers.
The uncompromising/ A tone of a recent city hall ordinance concerning/B the blocking of emergency vehicles in traffic jams carry/C a stern warning to/D motorist
____________________, which is also known as adrenaline, stimulates the sympathetic nervous system.
Unlike the author of Passage 1, the author of Passage 2 develops an argument by relying on (A) personal experience (B) scientific observation (C) historical con
What makes the white house staff different from the executive office of the president (eop)?
help me on the mad of this please
A sample of oxygen gas at a pressure of 1.05 atm and a temperature of 177°C, occupies a volume of 792 mL. If the gas is heated at constant pressure until its vo
____ refers to those actions taken to meet the psychological and emotional needs of various stakeholders.