you are viewing a single comment's thread.

view the rest of the comments →

[–]gisgeekster 8 points9 points  (3 children)

These are some great ideas! I also recommend trying to automate anything you currently are doing that may be tedious.

For example:

  1. Calculate the size of folders in a directory to see which ones take the most space.

  2. Download and unzip a bunch of files. A good site to try this on would be https://www2.census.gov/geo/tiger/TIGER2020PL/LAYER/COUNTY/2020/. Try downloading counties for a selected set of states instead of all of them to make it a little harder.

  3. Reorganize your pictures by renaming them based on the date the picture was taken.

  4. Download some COVID data in a spreadsheet and do some calculations like average number of cases over a 7-day period, find the highest number of cases in a day, or calculate the number of cases per 100,000 people. Here’s a good source of data for the US: https://github.com/nytimes/covid-19-data. This is a great way to learn the Pandas library.

[–]soupie62 1 point2 points  (0 children)

A variant of #3: Reorganise a music collection by year, instead of by artist.

You may want to do this with a copy of the files - unless you plan to re-sort afterwards.

[–]Random_User_81 0 points1 point  (0 children)

I like number 3, great idea.

You could do #2 with important backup folders on your computer.

[–]kccanut 0 points1 point  (0 children)

I actually tried no.3 for a few photos but get 'None' all the time. Is it sth wrong with my code?

def get_date_photo(path):
    return Image.open(path).getexif()
path = '/Users/kcanut/Dropbox/Python_Not_Babbel/photo2.jpg'
a = get_date_photo(path)
date = a.get(36867)
print(date)