Python Script for automation | need ASAP

Completed Posted 2 years ago Paid on delivery
Completed Paid on delivery

Script:

Given a specified directory within the directory the script is located in, I need the script to scan that directory, and all files and folders within it. I need it to write the info into a text file and save it. The info I need it to write to the file (in order) is as follows...

File name and the folder it is in (just the first folder, not all folders above it), The file size in Mb, the file path (just from the directory that was scanned, not from the root directory of the drive).

Then, if I go into the python code and change a variable (for example) from true to false, then it will output the same data, run the same code, except it will sort the data based on the file size, from largest to smallest, and write that to a text file. You may need to use a "lambda" to sort it fyi.

Python

Project ID: #33094385

About the project

7 proposals Remote project Active 2 years ago

Awarded to:

(89 Reviews)
5.9

7 freelancers are bidding on average $26 for this job

merinsinha

Python Expert. As 7+ years experiences in these field. I can give good quality work. I have read the guidelines of your work.I believe that i can provide you the best quality works you are anticipating from this platfr More

$30 USD in 1 day
(24 Reviews)
4.7
ahsannasir122

hy greeetings Ahsan here python developer, I read you query and confident to do this task , we can disscuss more about this . thanku

$20 USD in 2 days
(4 Reviews)
2.1
nimit1185091

Hi There, I am a python developer with more than 5 years of experience. I have completed lots of scripts for the similar problem statement. Feel free to message me. I can start working on this right now.

$20 USD in 7 days
(1 Review)
0.0
Wheroxxus

I'm experienced in working with file systems in python. If you give me this job, I will start on it right away and complete it in the shortest time possible!

$25 USD in 1 day
(1 Review)
0.1