Skip to content

Update folder_size.py #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 22, 2016
Merged

Update folder_size.py #39

merged 2 commits into from
Feb 22, 2016

Conversation

rutvikna
Copy link
Contributor

Made the code more compact by iterating through a dictionary. The line the dictionary and print the file size in Bytes, Kilobytes, Megabytes and Gigabytes.

Made the code more compact by iterating through a dictionary. The line the dictionary and print the file size in Bytes, Kilobytes, Megabytes and Gigabytes.
Replaced the list with a dictionary. The order is lost ( because of the dictionary) but the info is displayed better in my opinion.
geekcomputers added a commit that referenced this pull request Feb 22, 2016
@geekcomputers geekcomputers merged commit d43cfce into geekcomputers:master Feb 22, 2016
@geekcomputers
Copy link
Owner

Thanks very much

Regards
Craig

On 22 Feb 2016, at 16:52, Rutvik Narayana Nadimpally [email protected] wrote:

Made the code more compact by iterating through a dictionary. The line the dictionary and print the file size in Bytes, Kilobytes, Megabytes and Gigabytes.

You can view, comment on, or merge this pull request online at:

#39

Commit Summary

Update folder_size.py
File Changes

M folder_size.py (22)
Patch Links:

https://github.com/geekcomputers/Python/pull/39.patch
https://github.com/geekcomputers/Python/pull/39.diff

Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants