Skip to content
Advertisement

How to re-direct output path in python

JavaScript

I want to read urls from .txt file in one directory (Root/URLS/Gibiru_urls.txt) and output into another directory (Root/Images/Gibiru_pics). My python file is located in (Root)

JavaScript

Advertisement

Answer

I was able to re-direct. It was the os.chdir() method I was looking for.

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement