I would like to find a way to get the calendar date and time in hour:minute:seconds format for my packages installed via pip.
I would like to be able to see something in output like: Month/Day/Year - Hour:Minute:Seconds for each package.
Thanks!
I would like to find a way to get the calendar date and time in hour:minute:seconds format for my packages installed via pip.
I would like to be able to see something in output like: Month/Day/Year - Hour:Minute:Seconds for each package.
Thanks!
Is this what you are looking for -
Source of the code - https://stackoverflow.com/a/24736563/170005
You can do
import pip
too, which is pretty interesting. I didn't know this.You can list all the locations that holds the packages and then just list all the files in these directories (together with the creation time):
Also check out this answer for an alternative solution which you may prefer
Hope this helps!